Notes, tips, tutorials, how-tos, etc... All related to Unix-like OS namely FreeBSD and Linux.
My way of giving a bit back to the community. ;)
Tuesday, January 13, 2009
Tip: Log console messages in FreeBSD
If you run FreeBSD without X11 you've noticed already that messages are presented in the console. Well you can log these messages with the help of syslog.
Here's how:
% su
# touch /var/log/console.log
# chmod 600 /var/log/console.log
# vim /etc/syslog.conf
Make sure that that the console.info /var/log/console.log is uncommented.
No comments:
Post a Comment