Here is my /etc/syslog.conf:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#kern.* /dev/console
# Log anything (except mail) of level info or higher.
# Don't log private authentication messages!
*.info;*.!warn;authpriv.none;cron.nome;mail.none; -/var/log/messages
# The authpriv file has restricted
access.
authpriv.* /var/log/secure
# Log all the mail messages in one place.
mail.*;mail.!err -/var/log/maillog
mail.err
-/var/log/mail.err*.info;*.!warn;authpriv.none;cron.nome;mail.none; -/var/log/messages
# Log cron stuff
cron.* /var/log/cron
# Everybody gets emergency messages
*.emerg *
# Save news errors of level crit and higher in a special
file.
uucp,news.crit /var/log/spooler
# Save boot messages also to boot.log
local7.* /var/log/boot.log
#
# INN
#
news..=crit
/var/log/news/news.crit
news.=err /var/log/news/news.err
news.notice /var/log/news/news.notice
*.warn;authpriv.none;cron.none;mail.none; -/var/log/syslog
*.kern /var/log/kernel
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Frank
From: Marcelo Roccasalva <marcelo-centos@irrigacion.gov.ar>
To: CentOS mailing list <centos@centos.org>
Sent: Monday, February 16, 2009 5:59:35 AM
Subject: Re: [CentOS] logs such as messages, boot.log, and kernel contained 0 size
On Fri, Feb 13, 2009 at 11:09 AM, Frank Ling <
frankling77@yahoo.com> wrote:
> Marcelo,
>
> I didn't see open file for /var/log/messages.
Have a look at your /etc/syslog.conf
--
Marcelo
"¿No será acaso que ésta vida moderna está teniendo más de moderna que
de vida?" (Mafalda)
_______________________________________________
CentOS mailing list
CentOS@centos.orghttp://lists.centos.org/mailman/listinfo/centos