[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: syslog MARKs interval change

On Sun, Sep 19, 2004 at 10:57:31PM +0300, Alexandros Papadopoulos wrote:
> To make sure the system was alive at that time, syslog periodically 
> writes such messages to /var/log/messages:
> Sep 19 22:09:27 debian -- MARK --
> Sep 19 22:29:27 debian -- MARK --
> Sep 19 22:49:27 debian -- MARK --
> How is it possible to adjust the frequency of such entries? I'd like to 
> make it less frequent than 20 minutes.


|From syslogd (8):
       -m interval
              The syslogd logs a mark timestamp  regularly.   The
              default interval between two -- MARK -- lines is 20
              minutes.  This can be  changed  with  this  option.
              Setting the interval to zero turns it off entirely.

|From /etc/init.d/sysklogd:
# Options for start/restart the daemons
#   For remote UDP logging use SYSLOGD="-r"

^ change that to:

SYSLOGD="-m 60"

or, if that means "every minute" (try it):

SYSLOGD="-m 3600"

The world's most effective spam filter:
        ln -sf /dev/full /var/mail/$USER

Reply to: