Re: Mark facility in CentOS

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



On Mon, Aug 16, 2010 at 6:22 PM, Daniel Bareiro <daniel-listas@xxxxxxx> wrote:
> On Monday, 16 August 2010 00:31:14 -0300,
> JohnS wrote:
>
>>> This is my first message to the list. Some time ago I'm user of
>>> Debian GNU/Linux and recently I also started to use CentOS GNU/Linux.
>>>
>>> Does anyone know how to enable the mark facility on CentOS? According
>>> to what I was seeing, unlike Debian GNU/Linux, which uses rsyslog,
>>> CentOS still uses the traditional syslog where the parameters to be
>>> passed to the daemon are taken from /etc/sysconfig/syslog and the
>>> default configuration
>
>> -m 1   ???  The man page isn't much help....Get your feet weat...
>
> I thought the first referral to see would be "man syslogd":
>
>       -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.
>
> This time I did a test again and it worked even without the need to add
> mark.* in /etc/syslog.conf. I presume that maybe when I tried it last
> week, it would have failed because I incorrectly used "-m 20" in
> SYSLOGD_OPTIONS in /etc/init.d/syslog rather than in /etc/syslog.conf.
>
> I also see that timestamps are placed with the default interval of 20
> minutes leaving the variable empty, ie:
>
> SYSLOGD_OPTIONS=""

You must mean that you changed the default [SYSLOGD_OPTIONS="-m 0"] in
"/etc/sysconfig/syslog" to ["SYSLOGD_OPTIONS=""].
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux