Hello,

On 21/09/2020, 12:54, "Vitaly Repin" <[email protected]> wrote:

    Hello,

    Den mån 21 sep. 2020 kl 11:30 skrev Lennard Klein
    <[email protected]>:

    > From what I remember the most feasible way of doing this is taking 
journald out of the equation entirely, although this will means /dev/log stuff 
won't go into journald at all.
    > I don't have the exact instructions ready to go, but the basic idea would 
be to tell systemd/journald to stop being the owner of /dev/log, and telling 
rsyslog to start being so.
    > For the journald part it probably involves disabling/stopping/masking the 
'systemd-journald-dev-log.socket' unit, although disclaimer: there might be 
horrible side-effects.

    It looks like that it is a bad idea to disable journald completely:
    
https://askbot.fedoraproject.org/en/question/63985/how-to-correctly-disable-journald
    "This is simply not supported. All services systems starts have their
    stdout/stderr connected to journald, thus journald really needs to
    run."
By 'take out of the eqation' I did not mean disable journald completely: but 
rather configure it not to 'take' /dev/log any longer, so it only does the 
stdout/stderr logging you quoted here. Allowing rsyslog to listen on /dev/log 
once more directly.

Regards,
Lennard Klein

This email is from Equinix (EMEA) B.V. or one of its associated companies in 
the territory from where this email has been sent. This email, and any files 
transmitted with it, contains information which is confidential, is solely for 
the use of the intended recipient and may be legally privileged. If you have 
received this email in error, please notify the sender and delete this email 
immediately. Equinix (EMEA) B.V.. Registered Office: Amstelplein 1, 1096 HA 
Amsterdam, The Netherlands. Registered in The Netherlands No. 57577889.
_______________________________________________
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