Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add config option to keep persistent syslog #30

Open
nettings opened this issue Jan 20, 2020 · 1 comment
Open

add config option to keep persistent syslog #30

nettings opened this issue Jan 20, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@nettings
Copy link
Owner

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

@nettings
Copy link
Owner Author

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant