System log files

Tom Horsley horsley1953 at gmail.com
Sat May 30 17:20:11 UTC 2015


On Sat, 30 May 2015 10:51:13 -0500
Mike Chambers wrote:

> So something isn't starting or I need to do some quick edit to a config
> file or something to use journald or whatever?

The two extreme choices are:

1. Utterly give up on readable text log files and just use the
journald tools to examine logs.

2. Turn journald into nothing more than an agent to
forward logs to good old syslog via:

dnf install rsyslog logrotate (in case you don't already have them)

systemctl enable rsyslog.service

In /etc/systemd/journald.conf set:

Storage=none
ForwardToSyslog=yes

Create a file named /etc/rsyslog.d/sd-socket.conf that contains:

$AddUnixListenSocket /run/systemd/journal/syslog



More information about the users mailing list