NethServer Version: NS 7.4
Module: Sogo
SOGo floods my log with this messages:
Dec 4 12:35:01 ns7ad1 systemd: Started Session 162 of user sogo.
Dec 4 12:35:01 ns7ad1 systemd: Starting Session 162 of user sogo.
Dec 4 12:35:01 ns7ad1 systemd: Removed slice User Slice of sogo.
Dec 4 12:35:01 ns7ad1 systemd: Stopping User Slice of sogo.
Dec 4 12:36:01 ns7ad1 systemd: Created slice User Slice of sogo.
Dec 4 12:36:01 ns7ad1 systemd: Starting User Slice of sogo.
Dec 4 12:36:01 ns7ad1 systemd: Started Session 163 of user sogo.
Dec 4 12:36:01 ns7ad1 systemd: Starting Session 163 of user sogo.
Dec 4 12:36:01 ns7ad1 systemd: Removed slice User Slice of sogo.
Dec 4 12:36:01 ns7ad1 systemd: Stopping User Slice of sogo.
Dec 4 12:37:01 ns7ad1 systemd: Created slice User Slice of sogo.
Dec 4 12:37:01 ns7ad1 systemd: Starting User Slice of sogo.
Dec 4 12:37:01 ns7ad1 systemd: Started Session 164 of user sogo.
Dec 4 12:37:01 ns7ad1 systemd: Starting Session 164 of user sogo.
Dec 4 12:37:02 ns7ad1 systemd: Removed slice User Slice of sogo.
Dec 4 12:37:02 ns7ad1 systemd: Stopping User Slice of sogo.
Dec 4 12:38:01 ns7ad1 systemd: Created slice User Slice of sogo.
Dec 4 12:38:01 ns7ad1 systemd: Starting User Slice of sogo.
Dec 4 12:38:01 ns7ad1 systemd: Started Session 165 of user sogo.
Dec 4 12:38:01 ns7ad1 systemd: Starting Session 165 of user sogo.
Dec 4 12:38:01 ns7ad1 systemd: Removed slice User Slice of sogo.
Dec 4 12:38:01 ns7ad1 systemd: Stopping User Slice of sogo.
Dec 4 12:39:01 ns7ad1 systemd: Created slice User Slice of sogo.
Dec 4 12:39:01 ns7ad1 systemd: Starting User Slice of sogo.
Dec 4 12:39:01 ns7ad1 systemd: Started Session 166 of user sogo.
Dec 4 12:39:01 ns7ad1 systemd: Starting Session 166 of user sogo.
Dec 4 12:39:01 ns7ad1 systemd: Removed slice User Slice of sogo.
Dec 4 12:39:01 ns7ad1 systemd: Stopping User Slice of sogo.
Dec 4 12:40:01 ns7ad1 systemd: Created slice User Slice of sogo.
Dec 4 12:40:01 ns7ad1 systemd: Starting User Slice of sogo.
Dec 4 12:40:01 ns7ad1 systemd: Started Session 167 of user sogo.
Dec 4 12:40:01 ns7ad1 systemd: Starting Session 167 of user sogo.
Dec 4 12:40:01 ns7ad1 systemd: Removed slice User Slice of sogo.
Dec 4 12:40:01 ns7ad1 systemd: Stopping User Slice of sogo.
Dec 4 12:41:02 ns7ad1 systemd: Created slice User Slice of sogo.
Dec 4 12:41:02 ns7ad1 systemd: Starting User Slice of sogo.
Dec 4 12:41:02 ns7ad1 systemd: Started Session 168 of user sogo.
Dec 4 12:41:02 ns7ad1 systemd: Starting Session 168 of user sogo.
Dec 4 12:41:02 ns7ad1 systemd: Removed slice User Slice of sogo.
Dec 4 12:41:02 ns7ad1 systemd: Stopping User Slice of sogo.
Dec 4 12:42:01 ns7ad1 systemd: Created slice User Slice of sogo.
Dec 4 12:42:01 ns7ad1 systemd: Starting User Slice of sogo.
Dec 4 12:42:01 ns7ad1 systemd: Started Session 169 of user sogo.
Dec 4 12:42:01 ns7ad1 systemd: Starting Session 169 of user sogo.
Dec 4 12:42:01 ns7ad1 systemd: Removed slice User Slice of sogo.
Dec 4 12:42:01 ns7ad1 systemd: Stopping User Slice of sogo.
Every minute 6 entries.
I stopped this behavior by creating a ignore-systemd-session-slice-sogo.conf
file in/etc/rsyslog.d/
with this content:
if $programname == "systemd" and ($msg contains "Starting Session" or $msg contains "Started Session" or $msg contains "Created slice" or $msg contains "Starting User" or $msg contains "Removed slice User" or $msg contains "Stopping User") then stop
(I got this from https://unix.stackexchange.com/questions/267965/system-log-full-of-session-and-slice-messages with little modifications and it works.)
2 questions @stephdl
- do we need this messages in the log or are they relevant?
- if not, wouldn’t it be convenient to create this file automatically and restart rsyslog when installing SOGo ?