[systemd-devel] rsyslog / journald - el7 vs el8

Lennart Poettering lennart at poettering.net
Mon Jul 1 11:28:11 UTC 2024


On Mo, 01.07.24 13:15, Ricardo Esteves (ricardo.lopes.esteves at oracle.com) wrote:

> Hi,
>
> On RHEL7 (and clones) systemd package included /etc/rsyslog.d/listen.conf:
> $SystemLogSocketName /run/systemd/journal/syslog
>
> which makes rsyslog get the logs from journald.
>
> On RHEL8 (and clones) this file is not included anymore. Does anyone knows
> why?
>
> I see that on EL8 rsyslog.conf now includes the module imjournal to get the
> logs directly from journald db.
>
> Though on rsyslog documentation says its not recommended because is quite
> heavy.
>
> What would be the correct way (less heavy) to get logs from journald into
> rsyslog on EL8?

That sounds like a question for the rsyslog community. This here is a
systemd mailing list.

Lennart

--
Lennart Poettering, Berlin


More information about the systemd-devel mailing list