Repository navigation
v0.5.0
·
6 commits
to main
since this release
v0.5.0 (2026-11-02)
Logging: Lys logs through blackboxlog, and no longer logs chat.
Added
LOG_CHAT=true(a plain setting in the compose file'senvironment, off by default) logs every chat message with its channel, user and text.- Each command use is logged once, with the command, channel, outcome (
ok,error,timeout,refused,coolingorbusy), how long it ran and how long after the message the reply went out. The command's arguments are never logged.
Changed
- Normal chat messages are no longer logged, unless
LOG_CHAT=true. - Every log line is a JSON record with a level (
ERROR,WARN,INFOorDEBUG), a constant message, acomponent(router,twitch,chat,eventsub,sleeper,seventv, …) and its details as fields. Failures areERRORorWARN, where most had no level before.LOG_LEVELandLOG_FORMATchange the level and format. - A command that panics is one
ERRORrecord, with the stack in a field, instead of many lines. - A message from Twitch that Lys can't read is logged by its type and length, instead of up to 200 characters of what it said.
- Twitch's token errors are worded so that log redaction doesn't hide part of them.
lys migrate upsays which migrations it applied, or that the database is up to date.