syslog.conf

Hi all

I have a RedHat Linux AS2.1 server that keep crashing/rebooting and there are no messages in the /var/log/messages file pointing to any problems. I had a look at the /etc/syslog.conf file to see what gets logged to /var/log/messages, but I don't know what else to add. Can anyone tell me what would the contents of the ideal /etc/syslog.conf file be. I want to log all the system related messages that one would need to do some proper troubleshooting.

It depends on your exact logging needs, but the easiest way to capture *everything* is to add a line such as

*.debug                                             /var/log/everything

To your syslog.conf file, and then send syslogd a HUP signal (or just restart syslogd).

Cheers
ZB