Repository navigation
v0.10.1: rotate the add-on log
The add-on log can no longer grow without limit.
Fixed
- The video child writes to
/data/video.logbecause go2rtc swallows its
stderr. Inside an add-on that runs for weeks that file only grows. When it
passes two megabytes it is moved tovideo.log.1(replacing the previous
copy) and a new one starts, which is enough to keep the last sessions
without filling the volume.
Verified
sh -n wibox/run.shclean,go build,go vet,gofmtclean and the whole
suite green (4.6 s).
Not verified
- The rotation path with a real file over the limit only triggers after two
megabytes of log, so it has not been seen in the container yet. The shell
branch is guarded with|| trueso a read-only or missing file cannot abort
the add-on start.