Forward logs from journald to rsyslog

Install rsyslog

dnf install rsyslog -y

Edit the journald log.

vi /etc/systemd/journald.conf

Add, enable, or modify the following lines.

ForwardToSyslog=yes
MaxLevelSyslog=debug

Enable and start rsyslog

systemctl enable rsyslog
systemctl start rsyslog

Leave a Reply

Your email address will not be published. Required fields are marked *