Hi Ricardo,

That meant that rsyslog would listen on that socket and journald would send
log entries there.  See "ForwardToSyslog" in journald.conf (5).  Now the
default is to use the rsyslog "imjournal" module to get logs from the
journal.

We (I) always change the setting on our servers to the earlier
configuration due to warnings about performance in
https://rsyslog.readthedocs.io/en/latest/configuration/modules/imjournal.html
.

-Sean

On Mon, Jul 1, 2024 at 5:47 AM Ricardo Esteves via rsyslog <
rsyslog@lists.adiscon.com> wrote:

>
> Hi,
>
> On RHEL7 (and clones) systemd package included /etc/rsyslog.d/listen.conf:
>
> $SystemLogSocketName /run/systemd/journal/syslog
>
> which made rsyslog get the logs from journald right?
>
> On RHEL8 (and clones) this file is not included anymore. Does anyone
> knows why?
>
> I see that on RHEL8 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.
> Is the documentation still accurate about this? If yes what would be the
> correct way (less heavy) to get logs from journald into rsyslog?
>
> Best regards,
> Ricardo Esteves.
> _______________________________________________
> rsyslog mailing list
> https://lists.adiscon.net/mailman/listinfo/rsyslog
> http://www.rsyslog.com/professional-services/
> What's up with rsyslog? Follow https://twitter.com/rgerhards
> NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad
> of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you
> DON'T LIKE THAT.
>
_______________________________________________
rsyslog mailing list
https://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to