]> git.giacomolli.uk - onechat/commit
Stamp daemon log lines only outside the journal
authorAnderson A. Giacomolli <agiacomolli@gmail.com>
Mon, 9 Nov 2026 13:19:42 +0000 (10:19 -0300)
committerAnderson A. Giacomolli <agiacomolli@gmail.com>
Mon, 9 Nov 2026 13:19:42 +0000 (10:19 -0300)
commit75b9579355e1adcdbb1255a7e8e4582e0a431f3d
treed1e5a4c6e6955f6d27bec3f6c3eee5d828f6631d
parent1e2df788bbb17653a6df44acd41da2edb109d403
Stamp daemon log lines only outside the journal

The daemon makes the logger of each part in one place. Under the
journal, which sets JOURNAL_STREAM and adds its own time, the lines have
no time stamp. Otherwise every line has the standard time stamp, the
onechat lines too, so that no line has two time stamps and none has
none.

The start line names each value: the socket, the model and its effort,
the directory where the commands run, whether WhatsApp is linked, and
the number of active schedules.

Issue: e4acfcb
daemon.go
daemon_test.go
schedule.go