Re: logs such as messages, boot.log, and kernel contained 0 size

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




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@xxxxxxxxxxxxxxxxx>
To: CentOS mailing list <centos@xxxxxxxxxx>
Sent: Monday, February 16, 2009 5:59:35 AM
Subject: Re: logs such as messages, boot.log, and kernel contained 0 size

On Fri, Feb 13, 2009 at 11:09 AM, Frank Ling <frankling77@xxxxxxxxx> 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@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

_______________________________________________
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