LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-25-2008, 12:56 PM   #1
SheMoves
LQ Newbie
 
Registered: Jun 2008
Posts: 6

Rep: Reputation: 0
syslog.conf line - Help!


Dissect and understand the following syslog.conf line:
*.notice;kern.debug:lpr.info;mail.crit;news.err /var/log/messages

notice – Things that might merit investigation (Syslog severity level)
kern – The Kernel (Syslog facility name)
debug – For debugging only (Syslog severity level)
lpr - The line printer spooling system (Syslog facility name)
info – Information message (Syslog severity level)
mail – send mail and other mail related software (Syslog facility name)
crit – Critical conditions (Syslog severity level)
news - The Usenet news system (Syslog facility name)
err – Other error conditions (Syslog severity level)

/var/log/messages – writes (critical conditions, Usenet news, other error
conditions) important messages to /var/log/messages
- Is that correct????

The use of notice, kern, debug, lpr, info and mail – If you notice a problem that merits investigation with the kernel or the printer send an email message. If my understanding is correct I would say the syslog.conf line is correct.


Can someone tell me if my understanding is correct about this syslog.conf line ( I am new to Linux, so any feedback would be great) -
*.notice;kern.debug:lpr.info;mail.crit;news.err /var/log/messages

Thank you

Last edited by SheMoves; 06-25-2008 at 12:59 PM.
 
Old 06-25-2008, 01:47 PM   #2
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 61
Yes, you have the basic description correct.

Any applications are free to use any facility and priority they desire. It is up to admins to read the documentation for system services to determine the facility/priority used.

See week 9 Notes here: http://cis68c1.mikecappella.com/

Last edited by Mr. C.; 06-25-2008 at 01:48 PM.
 
Old 06-25-2008, 02:25 PM   #3
SheMoves
LQ Newbie
 
Registered: Jun 2008
Posts: 6

Original Poster
Rep: Reputation: 0
Thank you so much

One more question -

Where would you find the boot log for your machine? What are the issues that
affect logging at boot time? How does klogd solve these issues?


Thanks again
 
Old 06-25-2008, 03:36 PM   #4
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 61
This sounds like homework questions.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Syslog.conf doesn't exist gergaholic Fedora 4 11-02-2007 02:09 PM
syslog.conf s0n|k Linux - Newbie 1 02-27-2006 08:09 PM
Help with syslog.conf ? sauce Linux - Security 11 12-15-2005 05:49 PM
grep in syslog.conf komo Linux - General 2 11-16-2005 05:56 AM
edit /etc/syslog.conf wedgeworth Linux - Software 3 04-08-2004 02:58 PM


All times are GMT -5. The time now is 10:17 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration