著者: hal 日付: To: dng 題目: [DNG] disable elogind messages?
Hi,
Any way to disable elogind from filling up the message logs? I think all
these messages are happening because I have cron jobs running frequently.
I could possibly tell rsyslog to file these in cron.log (if it is cron)
but there is still the problem of excess logging taking up disk space.
Thank you
...
[Wed Nov 13 04:15:01 2019] elogind[2278]: Removed session 64956.
[Wed Nov 13 04:15:01 2019] elogind[2278]: New session 64957 of user root.
[Wed Nov 13 04:15:01 2019] elogind[2278]: Removed session 64957.
[Wed Nov 13 04:15:01 2019] elogind[2278]: New session 64958 of user root.
[Wed Nov 13 04:15:01 2019] elogind[2278]: Removed session 64958.
[Wed Nov 13 04:15:01 2019] elogind[2278]: New session 64959 of user root.
[Wed Nov 13 04:15:01 2019] elogind[2278]: Removed session 64959.
[Wed Nov 13 04:18:01 2019] elogind[2278]: New session 64969 of user root.
[Wed Nov 13 04:18:01 2019] elogind[2278]: Removed session 64969.
[Wed Nov 13 04:18:01 2019] elogind[2278]: New session 64970 of user root.
[Wed Nov 13 04:18:01 2019] elogind[2278]: Removed session 64970.
[Wed Nov 13 04:18:02 2019] elogind[2278]: New session 64971 of user root.
[Wed Nov 13 04:18:02 2019] elogind[2278]: Removed session 64971.
[Wed Nov 13 04:18:02 2019] elogind[2278]: New session 64972 of user root.
[Wed Nov 13 04:18:02 2019] elogind[2278]: Removed session 64972.
[Wed Nov 13 04:18:02 2019] elogind[2278]: New session 64973 of user root.
[Wed Nov 13 04:18:02 2019] elogind[2278]: Removed session 64973.
[Wed Nov 13 04:21:01 2019] elogind[2278]: New session 64983 of user root.
....