LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 07-24-2008, 07:01 PM   #1
captainxark
LQ Newbie
 
Registered: Jul 2008
Location: Hawaii
Distribution: Fedora, Ubuntu
Posts: 17

Rep: Reputation: 1
Lightbulb Is there a way to see all logs in one place?


Is there any program that will let you view logs without having to navigate to each directory?

If not, there should be...no?
 
Old 07-24-2008, 07:11 PM   #2
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 63
Which logs? Which directory(ies)?

find /var/log | less
 
Old 07-24-2008, 07:54 PM   #3
captainxark
LQ Newbie
 
Registered: Jul 2008
Location: Hawaii
Distribution: Fedora, Ubuntu
Posts: 17

Original Poster
Rep: Reputation: 1
logs

Maybe I just like gui's, but if there are three or four logs that you are going to all of the time, and maybe some of them are in application folders instead of /var/, wouldn't it be nice to have something like an rss reader to toggle between them.

Or, *gasp* like event viewer in windoze?

It could even be a terminal app where you can tab between subscribed logs.

Or am I just lazy?
 
Old 07-24-2008, 08:21 PM   #4
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 63
Well, that you want it via GUI is an important detail to forget to mention!

Unix/Linux logs are often very large - an RSS reader approach would be overwhelming. I have several hundred thousand lines in my maillogs - do you want to start viewing those line by line in an RSS reader, or try to view these in an browser?

The Windows event viewer is so gawd-awful and slow for any volume, its a toy.

Some things really are better in a plain text environment. You can certainly create yourself a shortcut that launches a shell to view any logs you specify. If you feel you need to see them with eye-candy, do the same thing but open them with your favorite text viewer.

I wouldn't say you're lazy at all. Finding better, faster ways of working is excellent! And I'll suggest to you that there are often better ways of accomplishing a goal if you focus on defining the goal, and not the method. Eg. "How can I obtain important or necessary information from my logs most conveniently"
 
Old 07-24-2008, 08:24 PM   #5
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
You are just lazy, but that's OK, who isn't. However Fedora Core or Ubuntu probably already have such a log viewer program. Look though your Administration or System programs, I'm sure you will find one. You will probably need to enter the root password because some logs are only readable by root.

However, some things to look at are not logs but the output of commands, like "who" and "lastb".

Being lazy in reading the logs is OK as long as you are looking at the logs. Being too lazy to find the log viewer program your distro supplies and then complaining about it isn't OK.
 
Old 07-24-2008, 08:27 PM   #6
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 63
Quote:
Originally Posted by jschiwal View Post
Being lazy in reading the logs is OK as long as you are looking at the logs. Being too lazy to find the log viewer program your distro supplies and then complaining about it isn't OK.
Huzzah, Huzzah!
 
Old 07-24-2008, 10:51 PM   #7
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,358

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Nice !


For OP, in my Fedora it's

Applications->System Tools->System Log
and enter root passwd

Amazing what you can find by looking...
 
Old 07-24-2008, 11:01 PM   #8
captainxark
LQ Newbie
 
Registered: Jul 2008
Location: Hawaii
Distribution: Fedora, Ubuntu
Posts: 17

Original Poster
Rep: Reputation: 1
C'mon, some credit please

I'm in Fedora 8 XFCE spin, no such log viewer in system menu or otherwise.

But if there is such a thing that might have been there, what's it's name? When I search google for Log Viewer, there's a redhat-logviewer and some kiwi non-free thing, but those aren't available through yum/revna.

Any other ideas?
 
Old 07-24-2008, 11:26 PM   #9
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 63
I've tried a couple of GUI log viewers in various distros, nothing impressive. Sorry, I don't recall their names.
 
Old 07-25-2008, 02:22 AM   #10
hlingler
Member
 
Registered: May 2007
Location: Connellsville, PA, USA
Distribution: Fedora 8/9/10/11
Posts: 71

Rep: Reputation: 15
Quote:
Originally Posted by captainxark View Post
I'm in Fedora 8 XFCE spin, no such log viewer in system menu or otherwise.

But if there is such a thing that might have been there, what's it's name? When I search google for Log Viewer, there's a redhat-logviewer and some kiwi non-free thing, but those aren't available through yum/revna.

Any other ideas?
Yes, it's there, installed and everything - but the menu item is hidden because is flagged as "GNOME desktop only". I found it after goofing around for a while trying out other assorted log viewers - including that "kiwi" garbage. For the record: "redhat-logviewer" is deprecated and performs even worse.

Go to folder /usr/share/applications/ and find the file: gnome-system-log.desktop. Open it (as root user) with a text editor (mousepad will do). Remove or comment out the line:
OnlyShowIn=GNOME;

Give the menu a few minutes to update the cache, or simply logout/login to re-set the menu.

"System Log Viewer" is a GUI for any/all log files. You may need to manually select and open those log files that you want to see. As already stated, folder /var/log/ and subfolders are where most system log files are kept.

V

EDIT: BTW, I ended up downloading and compiling xlogmaster from GNU, which I much prefer anyway. Here's the RPM package I made: xlogmaster-1.6.1-1.1.fc8.i386.rpm

Last edited by hlingler; 07-25-2008 at 02:28 AM.
 
Old 07-25-2008, 11:22 PM   #11
captainxark
LQ Newbie
 
Registered: Jul 2008
Location: Hawaii
Distribution: Fedora, Ubuntu
Posts: 17

Original Poster
Rep: Reputation: 1
Smile Xlog-master, Awesome

Thanks! Just what I was looking for.

In the future I will be sure to mention my base installation is XFCE....
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Finding LDAP Server Logs / Application Logs in Linux arbignay Linux - Newbie 2 03-24-2008 09:54 AM
Ubuntu logs on, then logs back off generallee5686 Ubuntu 0 10-20-2005 01:11 PM
Firefox logs user out? Where are error logs? case1984 Linux - General 0 10-09-2004 02:22 PM
Separate firewall logs and general logs dominant Linux - General 3 04-20-2004 01:26 AM
Apache logs - ???Linux logs??? mylo2003 Linux - General 3 08-07-2003 04:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 10:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration