[systemd-devel] journald: default log level for messages on stdout/stderr?

Zatkovský Dušan msk.conf at gmail.com
Thu Nov 16 09:38:08 UTC 2017


Hi there.

Is it possible to change which priority gives systemd to stdout/stderr 
messages produced by the service?

What I want is to have MaxLevelStore=info and following output:

<6> this is info
<7> this is debug
this is some trash
<4> this is warning

but persist to journal only:

<6> this is info
<4> this is warning

Systemd stores also "this is some trash" what is exactly what I don't 
want to.

Can't find how to do that. Anybody? Thank you

--
msk


More information about the systemd-devel mailing list