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

Manolis Kiagias sonic2000gr at gmail.com
Tue Feb 24 05:11:17 PST 2009


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


More information about the freebsd-questions mailing list