[systemd-devel] journald: default log level for messages on stdout/stderr?
Lennart Poettering
lennart at poettering.net
Thu Nov 16 09:47:12 UTC 2017
On Do, 16.11.17 10:38, Zatkovský Dušan (msk.conf at gmail.com) wrote:
> 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
https://www.freedesktop.org/software/systemd/man/systemd.exec.html#SyslogLevel=
Lennart
--
Lennart Poettering, Red Hat
More information about the systemd-devel
mailing list