[CentOS] empty /var/log/messages
Andy Green
andy at warmcat.com
Tue Jun 26 12:40:18 UTC 2007
beast wrote:
> I have one centos 4.0 server which /var/log/messages was always empty (0
> bytes). I wonder what has been blocking the syslog to write the log.
>
> Other (syslog) log files are fine, only messages.
>
> /etc/syslog.conf:
> # Log anything (except mail) of level info or higher.
> # Don't log private authentication messages!
> *.info;mail.none;authpriv.none;cron.none;spampd.none -/var/log/messages
How is the selinux stuff on /var/log/messages?
# ll -Z /var/log/messages
-rw------- root root system_u:object_r:var_log_t /var/log/messages
-Andy
More information about the CentOS
mailing list