[systemd-devel] journald syslog forwarding

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Thu Dec 11 05:11:14 PST 2014


On Thu, Dec 11, 2014 at 10:55:27AM +0000, "Jóhann B. Guðmundsson" wrote:
> 
> On 12/11/2014 10:28 AM, Holger Winkelmann [TP] wrote:
> >HI,
> >
> >Our embedded distribution relies on the systemd tooles including
> >journal based logging.
> >
> >However there is a need to forward log messages to remote syslog.
> >We try to avoid to introduce a full blown syslog solution
> >like i.e. rsyslog to just forward log messages to a remote syslog server.
What Jóhann describes should work, even though it is a bit hacky.
There is also a TODO item to add the functionality to send syslog packets
over the network to either systemd-journald or a different tool.

Zbyszek

> Does adding systemd.journald.forward_to_kmsg= ( or configure it in
> journald.conf via ForwardToKMsg=yes )
> netconsole=[src-port]@[src-ip]/[],[tgt-port]@/[tgt-macaddr]  on the
> kernel command line work for you?


More information about the systemd-devel mailing list