[CentOS] Mark facility in CentOS

Daniel Bareiro

daniel-listas at gmx.net
Mon Aug 16 02:08:57 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all!

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
is:

SYSLOGD_OPTIONS="-m 0"


So, no time stamps are added. As I watched in the man pages for syslog, I
tried removing the zero assuming it would take the default of 20 minutes,
but I get a error message suggesting to put a numerical value following the
"-m". I tried also with "-m 20" and nothing happens. Same result if,
besides that, I put in the /etc/syslog.conf:

*.info;mail.none;authpriv.none;cron.none,mark.*          /var/log/messages
                                         ^^^^^^
                                         aggregate


Any idea what might be missing?

Thanks in advance for your reply.

Regards,
Daniel
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkxomwUACgkQZpa/GxTmHTfQvQCgi2LlLgwDbBlHBrx7NEakqkwk
2SsAniEylf0DvoWCKVvZf9xpdc2m2R9j
=eOlp
-----END PGP SIGNATURE-----





More information about the CentOS mailing list