Bug#773752: gdm3: GDM3 pollutes system logs with user session output under systemd
Vincent Danjean
vdanjean.ml at free.fr
Fri Apr 24 17:02:04 UTC 2015
Le 24/04/2015 12:38, Michael Biebl a écrit :
> 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.
Thank you very much for this tip. I will downgrade the bug severity
to its initial value (and add this config on all my machines)
Regards,
Vincent
--
Vincent Danjean GPG key ID 0xD17897FA vdanjean at debian.org
GPG key fingerprint: 621E 3509 654D D77C 43F5 CA4A F6AE F2AF D178 97FA
Unofficial pkgs: http://moais.imag.fr/membres/vincent.danjean/deb.html
APT repo: deb http://people.debian.org/~vdanjean/debian unstable main
More information about the pkg-gnome-maintainers
mailing list