Debug messages

From: Rajdeep Sengupta (rajdeep@noida.atrenta.com)
Date: Thu Sep 22 2005 - 02:09:10 EDT


Hi All,

One of my v440 server is behaving abnormal. This machine got automatically
got rebooted yesterday night without showing any error. I am unable to find
any error on /var/adm/messages.

So I want to increase the debug level thru /etc/syslog.conf, so that if it
happens again I can track the real issue.

 

Can someone help me to configure syslog.conf to log all the debug or error
messages. Presently my syslog.conf is attached below.

 

# This file is processed by m4 so be careful to quote (`') names

# that match m4 reserved words. Also, within ifdef's, arguments

# containing commas must be quoted.

#

*.err;kern.notice;auth.notice /dev/sysmsg

*.err;kern.debug;daemon.notice;mail.crit /var/adm/messages

 

*.alert;kern.err;daemon.err operator

*.alert root

 

*.emerg *

 

# if a non-loghost machine chooses to have authentication messages

# sent to the loghost machine, un-comment out the following line:

#auth.notice ifdef(`LOGHOST', /var/log/authlog, @loghost)

 

mail.debug ifdef(`LOGHOST', /var/log/syslog, @loghost)

 

#

# non-loghost machines will use the following lines to cause "user"

# log messages to be logged locally.

#

ifdef(`LOGHOST', ,

user.err /dev/sysmsg

user.err /var/adm/messages

user.alert `root, operator'

user.emerg *

)

 

Thanks

-Rajdeep Sengupta
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:31:42 EDT