Tired of Logs flooded with systemd messages:
Posted: Thu Feb 02, 2017 3:46 pm
Red Hat 7 and systemd make too much noise in my messages file.
Starting Session blah blah blah
Started Session blah blah blah
Starting Session blah blah blah
Started Session blah blah blah
Starting Session blah blah blah
Started Session blah blah blah
Finally had it up to HERE... that's right... HERE
So, I made them stop with a one line file.
Then restart rsyslog
GONE...
Steve B
Starting Session blah blah blah
Started Session blah blah blah
Starting Session blah blah blah
Started Session blah blah blah
Starting Session blah blah blah
Started Session blah blah blah
Finally had it up to HERE... that's right... HERE
So, I made them stop with a one line file.
Code: Select all
vi /etc/rsyslog.d/ignore-systemd-session.conf
if $programname == "systemd" and ($msg contains "Starting Session" or $msg contains "Started Session") then stop
Code: Select all
systemctl restart rsyslogSteve B