Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Feb 2009 15:11:12 +0200
From:      Manolis Kiagias <sonic2000gr@gmail.com>
To:        Yavuz Maslak <maslak@ihlas.net.tr>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: How can I see all of error messages about server's situation in a	log file ?
Message-ID:  <49A3F1F0.9030303@gmail.com>
In-Reply-To: <E9178E1D411847639980F60BC82C0B68@desktop2002>
References:  <E9178E1D411847639980F60BC82C0B68@desktop2002>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49A3F1F0.9030303>