On Sep 14, 2014, at 8:32 AM, Balint Szigeti <balint.szgt@xxxxxxxxx> wrote:
I just did this: # rm -rf /var/log/journal # reboot And now journald logs are not persistent. They're in /run/log/journal which is not persistent. # journalctl --list-boots 0 dc2ede0a042e46089f8a17e06e772d43 Sun 2014-09-14 13:46:19 MDT—Sun 2014-09-14 13:47:17 MDT # ll /run/log/journal/d743b8f5aad34b57905cebf44bb706ad/ total 8192 -rw-r-----. 1 root systemd-journal 8388608 Sep 14 13:47 system.journal And yet /var/log/messages is still persistently recording. # rm -f /var/log/messages # reboot I have a new /var/log/messages now, with everything logged for this current boot. And # journalctl --list-boots 0 87c6d908d5604a978e69fbca20174659 Sun 2014-09-14 13:54:00 MDT—Sun 2014-09-14 13:55:18 MDT # ll /run/log/journal/d743b8f5aad34b57905cebf44bb706ad/ total 8192 -rw-r-----. 1 root systemd-journal 8388608 Sep 14 13:55 system.journal A new system.journal, non-persistent on /run, and only one boot listed because the earlier one was "deleted" since it was on /run.
I just think you don't understand how it works, which is understandable. Any man page for rsyslog will describe how it works, not systemd-journald, and journald.conf will describe how it works and not anything else. So you need some 3rd party write up to understand that rsyslog actually depends on systemd-journald. But then you also need to state exactly what it is you're trying to achieve. I'm assuming you want things like they were before systemd-journald, in which case the only thing you need to do is delete /var/log/journal; and depending on how your Fedora got to its current state maybe you need to install and enable rsyslog also but that's really it.
Chris Murphy
|
-- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org