Jump to content

Best way to view logs?


kmack
 Share

Recommended Posts

I hate to ask, but what is the best application to view log files? Is there a decent GUI viewer?

 

I have tried system log viewer as root and get many "this is not a log file" errors and seg faults.

 

Any recommendations?

Link to comment
Share on other sites

The best apps to view logs are, IMHO, and in no particular order: cat, less, tail, watch, vim, grep... all of them very powerful text applications.

 

If you insist in a GUI, the only one I know is /usr/bin/logview

Link to comment
Share on other sites

There's also root-tail.

 

Here's a shot I used for another topic...

 

http://linux.aliboom.com/images/mub/fullscreen.png

 

root-tail is what is displaying the logs on my root window --- and here's the code I used for it:

 

terry@timestorm: /home/terry

04:00:28 $ cat root-tail.info 

root-tail -g 132x70+100+50 -shade  var/log/everything/current,yellow /var/log/httpd/access_log,green,'WEB' /var/log/critical/current,red,'CRITICAL'

 

I'm using metalog as my logger, so your log files might be named differently

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...