Skip to content

Release 2.1.0: structured logs - #24

Merged
j5lien merged 1 commit into
mainfrom
structured-logs
Sep 29, 2026
Merged

j5lien merged 1 commit into
mainfrom
structured-logs

Conversation

@j5lien

@j5lien j5lien commented Sep 29, 2026

Copy link
Copy Markdown
Owner
  • Every log record names its kind in an event field (packet_received, teach_in, base_id_received, serial_error, data_crc_error, unknown_profile...) and carries its context as fields: base ID, transport/port/host/client, the serial error (lost until now), length or bytes of a dropped packet, EEP and command of an unknown profile
  • packet_log_fields() matches Packet.to_dict(): packet_type and rorg are enum names instead of integers, plus destination, status, repeater_count and eep
  • The events are listed in the monitoring guide
  • Version 2.1.0; install instructions (README, docs) point at the 2.1.0 tag

- Every log record names its kind in an `event` field (packet_received,
  teach_in, base_id_received, serial_error, data_crc_error,
  unknown_profile...) and carries its context as fields: base ID,
  transport/port/host/client, the serial error (lost until now), length or
  bytes of a dropped packet, EEP and command of an unknown profile
- packet_log_fields() matches Packet.to_dict(): packet_type and rorg are
  enum names instead of integers, plus destination, status, repeater_count
  and eep
- The events are listed in the monitoring guide
- Version 2.1.0; install instructions (README, docs) point at the 2.1.0 tag

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@j5lien j5lien self-assigned this Sep 29, 2026
@j5lien
j5lien merged commit 2c0f283 into main Sep 29, 2026
12 checks passed
@j5lien
j5lien deleted the structured-logs branch September 29, 2026 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant