LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 11-20-2009, 02:38 AM   #1
balteo
LQ Newbie
 
Registered: Jul 2002
Posts: 27

Rep: Reputation: 15
Question about the logs viewer application (/var/logs)


Hello,
I am sitting in front of the logs viewer application trying to understand the different categories of logs available.

Here is what I understand and what I don't understand:
Xorg.0.log: all that's related to the X server messages??
auth.log: ??
daemon.log: ??
debug.log: all the messages of "debug" level??
kern.log: all the messages related to kernel and device drivers??
messages: ??
sylog: ??

Can anyone please advice as to what the above mean?
Thanks in advance,
Julien.
 
Old 11-20-2009, 11:13 PM   #2
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,036

Rep: Reputation: 373Reputation: 373Reputation: 373Reputation: 373
Hello,

I think there are a few fundamentals about logs that you don't understand very well right now.

Quote:
Originally Posted by balteo View Post
Hello,
I am sitting in front of the logs viewer application trying to understand the different categories of logs available.
A "log viewer" would be a different thing. What you are investigating are simply the system logs, which are usually stored into /var/log/ by your system logger.

The system logger is a daemon, a program that loads at boot time and sits on the background. Some programs ask this logger to save some info that could be useful at later stages, for diagnosis or for other purposes. That info goes into /var/logs/, the concrete file name and place depends only on the concrete system logger that you use and its configuration.

There are some common names for logs, but bear in mind that that's just the convention, and not something that's carved in stone. They can differ from logger to logger and from system to system.

Code:
Here is what I understand and what I don't understand:
Xorg.0.log: all that's related to the X server messages??
Xorg.N.log, being 'n' a number, is the log for the Xorg session running on the 'n'th display. Hence, Xorg.0.log is the log for the display number zero. If you run many X session and / or your computer serves remote sessions, and / or you have multiple displays on a non-xinerama/xrandr (or similar mode) then you can have many sessions with different $DISPLAY numbers on the same computer.

Quote:
auth.log: ??
This is a register of the logins. Users that log into and out of the system.

Quote:
daemon.log: ??
Presumably log about the daemons that load and unload, not sure if it will hold something else.

Quote:
kern.log: all the messages related to kernel and device drivers??
messages: ??
sylog: ??
These are a bit fuzzy, what does into each file will be clearer if you take a look at the config of your system logger. You first need to know what your logger is. Common ones are syslog-ng, ksyslogd or metalog.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
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
/var/log how do I control my logs? paul123 Linux - Newbie 2 12-14-2006 02:44 PM
Can I delete all logs in /var/log? HURRY! Tenover Linux - General 4 01-03-2006 01:09 PM
VAR - logs - when to delete High-gain Linux - Newbie 4 02-27-2005 09:54 AM
var logs jgascon Linux - Security 1 08-09-2003 11:14 AM


All times are GMT -5. The time now is 01:18 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration