Debian Admin - Your way to Debian World

April 22, 2008

How to disable the “– MARK –” in Debian log file

by @ 4:36 pm. Filed under General

If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!

If you check your /var/log/messages file you can see lot of messages with -Mark- these are useless.You can disable them with the following procedure.


Edit /etc/defaults/syslogd file

#vi /etc/defaults/syslogd

Change the SYSLOGD option to the following

SYSLOGD=”-m 0″

Save and exit the file

Restart syslogd using the following comamnd

#invoke-rc.d sysklogd restart

Tags: ,

You may also be interested in...

3 Responses to “How to disable the “– MARK –” in Debian log file”

  1. Randall Says:

    Actually, the MARK messages are not useless. They let you know that syslogd is still working if a period of time (by default 20 minutes) passes without anything else being logged.

  2. Lee Says:

    Yep, they’re there for a reason. I think they’re helpful for security auditing (validating of logs) as well as for confirmation that syslog is working, as Randall said.

  3. Mike Says:

    Perhaps useful in some rare situations, such as a central syslog server, but for most implementations there is no requirement to ‘prove’ that syslog is working, so all it does is create logs full of nothing but that MARK entry. Not useful.

Leave a Reply

Subscribe RSS Feed

subscribe to the Debian Admin RSS feed

Internal links:

Sponsors:



Categories:

Support Debian Admin

Amount $:
Website(Optional):

Sponsors:

Archives:

Related Links:


Favourite Sites:

Wordpress Collection
Windows Reference
Ubuntu Geek
DebianHelp
All About Debian Tutorials
Power Electrical
Check Your IP Here
Debian,Ubuntu News
DebCentral
Tuxmachines
Capnkirby
Libervis
Nuxifield
Linux Horizon
Linux Appfinder
Debuntu
GNU/Linux For Everyone
Free Penguin
DebianAdmin is not related to the Debian Project.
This site is copyright © 2006,2007 Debian Admin
All Trademarks are the property of their respective owners.
The contents of this website may not be mirrored or archived without the express written permission of DebianAdmin Site Owner.

DISCLAIMER: All the information, troubleshooting methods, utilities offered in this website is provided AS-IS, without any warranties. Though I strive for perfection, and always test the validity and effectiveness of the troubleshooting content in various systems, I assume no responsibility for your use of these Fixes, Utilities and other troubleshooting advice. The author will not be liable for any special, incidental, consequential or indirect damages due to loss of data or any other reason. All use is completely at your own risk. Changes to the existing content and new additions are made to this website periodically, without notification.
Rodney's Kontera DynamiContext Plugin plugged in.