How can I see all of error messages about server's situation in a log file ?

2009-02-24 Thread Yavuz Maslak

I use freebsd7.1-release.

Sometimes, when I monitor my server on the monitor, I see some messages 
which are about inform,  warning or kernel messages.

But I couldn't see these messages in /var/log/messages.
How can I do that ?
What do I need to set to this ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How can I see all of error messages about server's situation in a log file ?

2009-02-24 Thread Manolis Kiagias
Yavuz Maslak wrote:
 I use freebsd7.1-release.

 Sometimes, when I monitor my server on the monitor, I see some
 messages which are about inform,  warning or kernel messages.
 But I couldn't see these messages in /var/log/messages.
 How can I do that ?
 What do I need to set to this ?

Edit /etc/syslog.conf

You will some commented out entries like:

#console.info   /var/log/console.log

Remove the hash, restart syslog (/etc/rc.d/syslogd restart) and these
messages will get stored in /var/log/console.log
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How can I see all of error messages about server's situation in a log file ?

2009-02-24 Thread Wojciech Puchar


Sometimes, when I monitor my server on the monitor, I see some messages which 
are about inform,  warning or kernel messages.

But I couldn't see these messages in /var/log/messages.



by default syslog.conf direct them to many files depending of type.

look at syslog.conf and check it, or maybe modify.

personally i always change syslog.conf to put all to /var/log/messages


How can I do that ?
What do I need to set to this ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org