Stopping syslog from creating –MARK– messages

Ever since I started running Linux systems I became significantly annoyed with these stupid –MARK– messages in my log files. I mean, there’s no point of it, it just fills up disk space that costs me money, as well as creating more I/O activity.

So, when you get mesages like this in your /var/log/messages file:

Feb 22 14:54:21 mx2 -- MARK --
Feb 22 15:14:21 mx2 -- MARK --
Feb 22 15:34:21 mx2 -- MARK --
Feb 22 15:54:21 mx2 -- MARK --
Feb 22 16:14:21 mx2 -- MARK --
Feb 22 16:34:21 mx2 -- MARK --
Feb 22 16:54:21 mx2 -- MARK --
Feb 22 17:14:21 mx2 -- MARK --
Feb 22 17:34:21 mx2 -- MARK --

The way to stop it is to adjust the following parameter in the file /etc/default/syslogd

SYSLOGD=""

to

SYSLOGD="-m 0"

And voila, no more –MARK– messages.

Leave a Reply