Fedora OS introduces journalctl
as the new way to log error messages. I learn about this recently when I performed an upgrade. var/log/messages
and many other log files are now combined into a .journal
file within the var/log/journal
directory.
I have a custom log that was created specially to log critical errors using the old rsyslog
:
*.crit /var/log/critical/log
This file will be emailed to me and rotated every hour using a cron job as long as there is an error. Now, how would this be done using journalctl
? The options in journald.conf
seems pretty limited. Do I still require rsyslog
to do this?