[CentOS] dmesg and messages differences

Thu Jan 20 18:28:35 UTC 2011
Keith Roberts <keith at karsites.net>

On Thu, 20 Jan 2011, Paul Heinlein wrote:

> To: CentOS mailing list <centos at centos.org>
> From: Paul Heinlein <heinlein at madboa.com>
> Subject: Re: [CentOS] dmesg and messages differences
> 
> On Fri, 21 Jan 2011, Cameron Kerr wrote:
>
>> dmesg is everything sent from the kernel for logging (ie. the
>> historical content of the dmesg(8) command).
>>
>> messages is basically a syslog fall-through (a bit like /var/log/syslog)
>
> See /etc/rc.sysinit for dmesg invocation that writes to
> /var/log/dmesg; the LOGLEVEL shell variable is set in
> /etc/sysconfig/init.
>
> The content of /var/log/messages is controlled via /etc/syslog.conf.

Thanks guys for that concise answer.

I guess I need to read up on the man page for syslogd :)

Keith

-----------------------------------------------------------------
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
-----------------------------------------------------------------