«
»

A real-time log viewer

October 14th, 2005 by George Notaras

It’s very useful, when testing things, to have syslog messages appear in real-time on the screen. This way there is no need to check /var/log/messages all the time.

It’s really simple to set up something like this. You only need to append the following line to your /etc/syslog.conf:

*.*                /dev/tty9

Remember to use tabs instead of spaces. Then save and restart the syslog service:

# service syslog restart

From now on, by pressing Ctrl-Alt-F9 you can watch all the info that goes to syslog in real-time.

The A real-time log viewer by George Notaras, unless otherwise expressly stated, is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License. Terms and conditions beyond the scope of this license may be available at www.g-loaded.eu.

Related Articles

Tags: , ,

Bookmark and Share

Comments are automatically disabled after a certain period of time. Further discussion about the published content is still possible though in the G-Loaded Forums.