Carlos E. R. wrote:
On 2016-03-03 11:55, Per Jessen wrote:
Carlos E. R. wrote:
No, no. I want the log in syslog, where I know where to filter appropriately and rotate when needed. What I do not want them is in systemd journal wasting space and resources.
Ah okay - well, the systemd journal is the gateway to the syslog daemon. I think we're back to removing /var/log/journal - there may be something in /etc/systemd/journal.conf too, but I remove /var/log/journal. Just another item on the checklist.
Wait. I don't have "/var/log/journal/", that's the permanent journal. There is another journal for the current session only, which in theory goes to memory, but mine is big:
Telcontar:~ # journalctl --disk-usage Journals take up 304.9M on disk. Telcontar:~ # uptime 12:01pm up 6 days 3:06, 42 users, load average: 0.27, 0.45, 0.38 Telcontar:~
Despite having in /etc/systemd/journald.conf:
SystemMaxUse=100M RuntimeMaxFileSize=200M
I'm unsure where this one is stored. On each boot, it is purged.
https://www.freedesktop.org/software/systemd/man/systemd-journald.service.ht... <!-- By default, the journal stores log data in /run/log/journal/. Since /run/ is volatile, log data is lost at reboot. To make the data persistent, it is sufficient to create /var/log/journal/ where systemd-journald will then store the data. --> I wonder if we do actually create /var/log/journal in the default setup. I mean, a desktop machine doesn't need a persistent log. -- Per Jessen, Zürich (3.0°C) http://www.dns24.ch/ - your free DNS host, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org