]> git.giacomolli.uk - onechat/commit
Shorten the daemon log lines
authorAnderson A. Giacomolli <redacted>
Mon, 9 Nov 2026 14:11:09 +0000 (11:11 -0300)
committerAnderson A. Giacomolli <redacted>
Mon, 9 Nov 2026 14:11:09 +0000 (11:11 -0300)
commit7088b82414bdf947a6f88918c0a7b2c7fb0c53ef
treed210ff270c83e6b50181f554f1f4a32a599939ef
parent2daf91497c2cc70d7156f7c0d99b1451933a818a
Shorten the daemon log lines

Each log line names the event in a few plain words, then the cause after
a colon, such as "telegram: receive failed: 502 Bad Gateway (retry in
2s)" or "whatsapp: connected again after 1m25s". The lines no longer
explain what the event means for the user: they stay short enough to
read in the journal at a glance. A Telegram error gives the HTTP status
and its text without a prefix, because the telegram: prefix names the
service. The behavior of the logs does not change.

Issue: e4acfcb
16 files changed:
daemon.go
memory.go
memory_test.go
schedule.go
schedule_test.go
subagent_run.go
subagent_run_test.go
telegram.go
telegram_api.go
telegram_api_test.go
telegram_test.go
turn.go
turn_test.go
whatsapp.go
whatsapp_groups.go
whatsapp_test.go