nettings / medianet

A distribution overlay for Raspbian and similar systems to create a JACK-based embedded system for audio processing and streaming. Contract work for [mn] medianet. https://www.medianet-home.de
Other
11 stars 2 forks source link

add config option to keep persistent syslog #30

Open nettings opened 4 years ago

nettings commented 4 years ago

we should have an option to keep the systemd journal in /local/data/log and/or push it to a remote syslog host.

nettings commented 7 months ago

To activate persistent logging, it is enough to create

drwxr-sr-x+ 3 root        systemd-journal    4096 Feb 22 20:07 journal

in /local/log. A symlink from /var/log is already in place, and systemd-journald defaults to Storage=auto, which will flush logs to disk if the directory exists (and keep volatile logs in memory if it doesn't).