[systemd-devel] systemd-logger and external syslog daemon
Kay Sievers
kay.sievers at vrfy.org
Fri Mar 18 06:36:53 PDT 2011
On Fri, Mar 18, 2011 at 14:30, Rainer Gerhards <rgerhards at hq.adiscon.com> wrote:
> On 03/18/2011 01:53 PM, Kay Sievers wrote:
>> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=9d90c8d9cde929cbc575098e825d7c29d9f45054
>
> That's what I understood and what I based my proposal on. In that case,
> rsyslog can simply check if there is an additional priority. I just did some
> quick PoC:
>
> http://git.adiscon.com/?p=rsyslog.git;a=commitdiff;h=bb67fd7fbf99ce0ec01b347fad5d1d9d101bfa5d
>
> Looks like it works pretty well. So systemd could simply always write the
> full priority and the syslogd would just need to check for the extra header.
> If the syslogd is not capable of doing that, the message will look a bit
> strange. But in that case, the priority is wrong in any case, and so chances
> it will be properly routed are slim...
Sounds all good to me.
Thanks a lot for your help and cooperation,
Kay
More information about the systemd-devel
mailing list