[systemd-devel] Testing LogFilterPatterns= on user-level services

Barry barry at barrys-emacs.org
Sat Jan 13 22:05:43 UTC 2024



> On 12 Jan 2024, at 20:29, Farblos <AKFKQU.9DF7RP at vodafonemail.de> wrote:
> 
> On 2024-01-12  18:51, Barry wrote:
> 
>> The docs say this means discard any log that contains ritzelbimpf.
>> See https://www.freedesktop.org/software/systemd/man/latest/systemd.exec.html#LogFilterPatterns= <https://www.freedesktop.org/software/systemd/man/latest/systemd.exec.html#LogFilterPatterns=>
>> 
>> What where you expecting?
> 
> Exactly that - that I do not have any messages from test.service
> in the journal containing "ritzelbimpf".  Yet the journal show
> both the "ritzelbimpf" and the "foobarbaz" messages, as seen in
> the journal excerpt from my initial post.

Doh! You are right. It seems to not do what is documented.

Barry

> 
> Thanks.
> 



More information about the systemd-devel mailing list