package/sysklogd: backport fix for kernel logs to console

- Backport fix to allow raw kernel logs to console
 - Save 10 rotated (and gzipped) backups of all logs

The latter change was discussed a few weeks ago.  We determined it was a
safe number since all active products have eMMC with *lots* of storage.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg
2024-04-25 09:20:32 +02:00
parent 8f8805a1ee
commit dcd7cb1a77
2 changed files with 119 additions and 2 deletions
@@ -1,5 +1,5 @@
# -l :: Keep kernel looging to console
# -m0 :: Disable periodic syslog MARK entries
# -s :: Enable secure mode, don't listen to remote logs
# -r 1M:5 :: Log rotation every 1 MiB and keep 5 rotated ones
SYSLOGD_ARGS="-m0 -s -r 1M:5"
SYSLOGD_ARGS="-l -m0 -s -r 1M:10"