Posted in Debian/Ubuntu Linux NSLU2

Debian Etch : disable the “– MARK –” log

January 9, 2008 - 3 comments

I installed Debian on an NSLU2.

The system is running off a USB thumb drive.

In order to maximize the lifetime of the drive, I need to limit the number of writes to it.

– MARK — entries in the logs are (from my understanding) pretty useless for that system, here’s how to disable them.

Edit /etc/defaults/syslogd

Change the SYSLOGD option to the following :

SYSLOGD="-m 0"

Restart syslogd :
invoke-rc.d sysklogd restart

Comments

Sébastien Wains » Installing Debian on a Linksys NSLU2

January 10, 2008 - 13:42

[...] disable MARK logs : /etc/defaults/syslogd and set SYSLOGD=”-m 0″ mount / with noatime : /etc/fstab and add option noatime for the / mount point [...]

G4tsu

April 1, 2009 - 10:12

What does that –MARK– mean?

Seb

April 1, 2009 - 15:00

syslog will send a mark log regularly.. meaning syslog is alive and didn’t die. If you don’t see anything in your logs for a while, and you don’t see the MARK log.. it is likely that syslog is no longer running

Leave Comment

Please consider visiting the partners below if you enjoyed this article :

If this post saved you time and money, please consider checking my Amazon wishlist.

Before submitting, some rules :
- Is your comment related to the article ?
- You're having a problem ? Have you checked Google, other howtos, docs, manpages ?
- You're still having the problem ? Have you raised log verbosity, checked traces, ran tcpdump ?
- Have you checked your configuratoin for typo ?
Unless your comment is providing additional info or respect the rules above, DON'T comment.
If you don't understand what you are doing, I urge you to read the documentation, I'm not your free Level 1 helpdesk guy.