Bug#773752: gdm3: GDM3 pollutes system logs with user session output under systemd

Michael Biebl biebl at debian.org
Fri Apr 24 10:38:12 UTC 2015


Am 24.04.2015 um 12:21 schrieb Michael Biebl:
> An alternative to dropping the user messages, is to log them to a
> separate log file which has different log retention policies.

For completeness sake, this would look like this:

$ cat /etc/rsyslog.d/drop-user-messages.conf
user.* /var/log/user.log
& stop


The point here is, that those rsyslog.d snippets are included before the
rules in /etc/rsyslog.conf are processed. So you can log to user.log and
stop any further processing, i.e. avoid it ends up in syslog and messages.
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20150424/04413047/attachment.sig>


More information about the pkg-gnome-maintainers mailing list