rsyslog

Tom H tomh0665 at gmail.com
Wed Mar 4 20:53:15 UTC 2015


On Tue, Mar 3, 2015 at 6:19 AM, Tom Horsley <horsley1953 at gmail.com> wrote:
> On Tue, 3 Mar 2015 13:46:43, Dan Irwin wrote:
>>
>> What kind of secret voodoo does one need to use rsyslog on a systemd
>> system? Is it even possible?
>
> From my notes on making fedora usable:
>
> rsyslog isn't installed by default, so you get no log files
> you can look at with normal tools. The systemd journal has
> taken over. To restore sanity:
>
> yum install rsyslog
>
> 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
>
> Having gotten real log files back, may need to also install
> logrotate.

The reason that you have to make these changes to rsyslog.conf and
journal.conf is that rsyslog is set up to get journal logs by default
via its imjournal module. So your changes aren't necessary; unless
there's a bug.


More information about the users mailing list