LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-28-2010, 06:32 PM   #1
dbrazeau
Member
 
Registered: Aug 2009
Distribution: Fedora, OpenSuse, DENX Embedded Linux
Posts: 184

Rep: Reputation: 28
logging to two log files simultaneously?


So I'm looking for a way to use klogd and/or syslogd to log all the default message levels to the standard /var/log/messages. I also want all kernel (and possibly user) error messages to also be logged to a second file. Is this even possible? If so how would I accomplish this?
 
Old 10-28-2010, 09:17 PM   #2
dbrazeau
Member
 
Registered: Aug 2009
Distribution: Fedora, OpenSuse, DENX Embedded Linux
Posts: 184

Original Poster
Rep: Reputation: 28
Also I would mind using additional software other thank klogd and syslogd if need be.
 
Old 10-28-2010, 10:37 PM   #3
kirukan
Senior Member
 
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,278

Rep: Reputation: 148Reputation: 148
Did you refer the syslog.conf manpage...
 
Old 10-29-2010, 11:53 AM   #4
dbrazeau
Member
 
Registered: Aug 2009
Distribution: Fedora, OpenSuse, DENX Embedded Linux
Posts: 184

Original Poster
Rep: Reputation: 28
No, I only took a look at the klogd man page. I'll check that out. Thanks.

Also I had a typo in my last post I meant "I wouldn't mind"
 
  


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
iptables logging to 3 log files peridot121 Linux - Server 4 07-30-2010 06:50 PM
Showing command output on the screen while simultaneously logging it. Lufbery Slackware 3 02-04-2010 03:18 PM
Access log-files without logging in as root Bl4deRunner Linux - Security 2 04-10-2006 06:28 AM
Apache 2.0 | logging | Recording the host name in the log files ganz_friedrich Linux - Software 2 02-16-2006 04:06 PM
pppd logging to /var/log/ppp.log problem mrtwice Linux - Software 1 01-10-2004 06:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:44 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