[systemd-devel] How to reduce systemd logging to syslog ?
Lennart Poettering
lennart at poettering.net
Mon Jul 21 06:15:48 PDT 2014
On Sun, 20.07.14 15:41, surfer at emailengine.net (surfer at emailengine.net) wrote:
> That's a LOT of not very useful "Started Session ## of user root"
> noise in system logs that gets in the way of managing my system.
> Those messages are EnergizerBunny-entries -- they just keep going, and
> going, and going. They're clearly NOT telling me anything helpful --
> like that there's a problem, or a state change from "good->bad".
Well, the are telling you that a system unit got started and stopped
then.
> How do I turn that level of systemd logging to my syslog OFF, or
> reduce it to something more reasonable? If systemd wants to log to
> its journal that's one thing -- I understand that we're supposed to
> "just filter out what you need". But syslog's a different story.
Well, rsyslog nowadays picks its data up from the journal on its own,
journald doesn't forward anything to it anymore. Hence use rsyslog's
filtering to configure what exactly you want it to pick up.
Lennart
--
Lennart Poettering, Red Hat
More information about the systemd-devel
mailing list