Disable --MARK-- in /var/log/messages

| 0 Comments | 0 TrackBacks
In Debian installations, syslogd is default configured to show a --MARK-- message in /var/log/messages once every 20 minutes.  This message is used to help identify locations in the messages log, and some argued that it helps the system administrator to verify the log daemon is running. However, if you're like me, and have nothing really running on the server, you will find the messages log build up with nothing but --MARK-- lines.  Here's a quick way to disable the --MARK-- message:

Edit the configuration file:
SSH Command
nano /etc/default/syslogd


Find:
SYSLOGD=""

Replace with:
SYSLOGD="-m 0"

Ctrl + X, Y to save and exit.

Then, issue this command:
SSH Command
/etc/init.d/syslogd restart


It will stop any future entry of that --MARK-- message.

No TrackBacks

TrackBack URL: http://www.andyhuang.net/mt/mt-tb.cgi/432

Leave a comment

About this Entry

This page contains a single entry by Andy Huang published on June 16, 2008 5:28 AM.

Now THAT's Good Customer Service was the previous entry in this blog.

Installing APF on Debian Servers is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.