[systemd-devel] About “systemd-cat --priority=0”
gmane at colin.guthr.ie
Sun Mar 10 14:50:33 PDT 2013
'Twas brillig, and Michal Schmidt at 08/03/13 11:10 did gyre and gimble:
> Dne 8.3.2013 10:57, Yan Lei napsal(a):
>> Sorry for troubling you, but I have got an issue to confirm with you.
>> My issue is when I use the following command:
>> systemd-cat --priority=0 echo "hello"
>> Nothing logged into the journal, and the exit code is 141. I wonder
>> whether it is
>> a bug or it just work as expected.
> Looks like a bug to me. Fixed now in git:
In your commit message you said:
> BTW, I'm not sure why we allow priorities up to 999, but I'm leaving this be for now.
Technically only values up to 998 would be allowed due to the same range
checking problem you fixed. Whatever the reason for the large levels,
it's perhaps an oversight that 999 is not allowed?
Likely not an issue except in one backwater logging system buried in a
basement somewhere :)
Tribalogic Limited http://www.tribalogic.net/
Mageia Contributor http://www.mageia.org/
PulseAudio Hacker http://www.pulseaudio.org/
Trac Hacker http://trac.edgewall.org/
More information about the systemd-devel