[CentOS] logs such as messages, boot.log, and kernel contained 0 size

Frank Ling frankling77 at yahoo.com
Mon Feb 16 15:24:00 UTC 2009


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 at irrigacion.gov.ar>
To: CentOS mailing list <centos at 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 at 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 at centos.org
http://lists..centos.org/mailman/listinfo/centos



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20090216/f6e556aa/attachment.html>


More information about the CentOS mailing list