LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-11-2011, 01:35 PM   #1
harshakvl
LQ Newbie
 
Registered: May 2010
Posts: 2

Rep: Reputation: 0
Logs redirect syslogd


Hi,

I am using RDAC Kernel for getting the disks detected by OS with a single path. Usually RDAC searches for seconf path and generates a message in /var/log/messages which I would like to redirect those logs to particular file. Here are the logs that which my server generates..


Aug 11 11:34:00 server1 kernel: 10 [RAIDarray.mpp]DS1800reg:1 Failover command issued
Aug 11 11:34:00 server1 kernel: 801 [RAIDarray.mpp]Failover succeeded to DS1800reg:1
Aug 11 11:34:00 server1 kernel: 500 [RAIDarray.mpp]DS1800reg:1:0:0 Fail to current ctrl 1.. vcmnd SN 29252193 pdev H5:C0:T0:L0 0x05/0x94/0x01 0x08000002 mpp_status:1
Aug 11 11:34:00 server1 kernel: 10 [RAIDarray.mpp]DS1800reg:1 Failover command issued
Aug 11 11:34:01 server1 kernel: 801 [RAIDarray.mpp]Failover succeeded to DS1800reg:1
Aug 11 11:34:02 server1 kernel: 500 [RAIDarray.mpp]DS1800reg:1:0:0 Fail to current ctrl 1.. vcmnd SN 29252200 pdev H5:C0:T0:L0 0x05/0x94/0x01 0x08000002 mpp_status:1


Please let me know the solution.

Regards,
Sriharsha Kalluru.
 
Old 08-13-2011, 01:17 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
with normal syslogd you won't be able to, but if you were to migrate to syslog-ng you could you a match operating to separate them out.
 
  


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
Question about the logs viewer application (/var/logs) balteo Linux - General 1 11-20-2009 11:13 PM
Finding LDAP Server Logs / Application Logs in Linux arbignay Linux - Newbie 2 03-24-2008 09:54 AM
syslogd and named logs - separate file slimak Debian 3 11-16-2004 01:51 AM
syslogd: how to redirect incoming logs psychobyte Linux - Networking 1 02-22-2004 12:31 AM
Im running syslogd. I also have my PIX firewall logs being written to my linux syslog adamrau Linux - Security 2 12-19-2001 01:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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