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

[SOLVED] syslog MARKs interval change



On Sunday 19 September 2004 23:08, Stefan O'Rear wrote:
> 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.
>
> RTM
>
> |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"
> #
> SYSLOGD=""
>
> ^ change that to:
>
> SYSLOGD="-m 60"

Ah, thanks! I was reading the manual page syslog.conf (5) (which doesn't 
mention these MARKs) and the configuration file and forgot to check the 
syslogd (8) man page :-P

Cheers

-A



Reply to: