LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Logs redirect syslogd (https://www.linuxquestions.org/questions/linux-server-73/logs-redirect-syslogd-896811/)

harshakvl 08-11-2011 01:35 PM

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.

acid_kewpie 08-13-2011 01:17 AM

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.


All times are GMT -5. The time now is 02:16 AM.