Logging #28

Open
opened 2025-09-25 21:36:31 +02:00 by pratyush · 1 comment
Owner

Had a crash:

Sep 24 04:00:22 <HOST> watbot[2259]: Error returned while running client: EOF
Sep 24 04:00:22 <HOST> systemd[1]: watbot@libertacasa.service: Deactivated successfully.

Unless I’m wrong we don’t have a way to enhance logging in order to inspect this.

Could use slog package potentially

Had a crash: ``` Sep 24 04:00:22 <HOST> watbot[2259]: Error returned while running client: EOF Sep 24 04:00:22 <HOST> systemd[1]: watbot@libertacasa.service: Deactivated successfully. ``` Unless I'm wrong we don't have a way to enhance logging in order to inspect this. Could use [slog package](https://pkg.go.dev/log/slog) potentially
Owner

Structured logging would be nice indeed.

Structured logging would be nice indeed.
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: LibertaCasa/watbot#28
No description provided.