On Mon, Jun 09, 2014 at 10:48:31AM +0300, Leho Kraav wrote: > Date: Mon, 09 Jun 2014 10:48:31 +0300 > From: Leho Kraav <l...@kraav.com> > To: Reindl Harald <h.rei...@thelounge.net>, > systemd-devel@lists.freedesktop.org > Subject: Re: [systemd-devel] How to quiet cron sessions logging with > systemd-212? > User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 > Thunderbird/24.5.0 > > On 09.06.2014 10:43, Reindl Harald wrote: > >nobody cares because the developers point of view is that what is > >interesting for them needs to be also faced by the sysadmin > > > >otherwise this would be only logged in debug-mode and bugreports > >not closed: https://bugzilla.redhat.com/show_bug.cgi?id=1072368#c3 > > > >frankly if that messages would at least have a prefix or a different > >process than systemd one could filter them out with rsyslog.conf > >without supress relevant boot messages > > > > Thanks for the info. I tried googling for this relatively hard, couldn't > find that bug. > > Language on that bug is probably counterproductive, but other than that, > some reasonably sensible way should exist to simply stop logging crap, not > relying on just output filtering.
What you see are authpriv-level logs, so it would be a really bad idea to suppress them, regardless of their source. Currently, journald doesn't provide any means of log processing, so your only choice is to filter logs when viewing them using journalctl command line or grep/awk; you can not control what is logged when and where. If you want log processing (multiple log directories, advanced filtering, etc.), use syslog-ng or rsyslog. For example, one can setup a special logfile for systemd-related messages with a given syslog facility (authpriv, daemon, etc.). HTH, -- Leonid Isaev GPG fingerprints: DA92 034D B4A8 EC51 7EA6 20DF 9291 EE8A 043C B8C4 C0DF 20D0 C075 C3F1 E1BE 775A A7AE F6CB 164B 5A6D
pgpERrsRV4Zx0.pgp
Description: PGP signature
_______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel