LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 08-21-2010, 10:53 AM   #1
Raheel Hassan
LQ Newbie
 
Registered: Mar 2009
Posts: 24

Rep: Reputation: 0
How to enable logging of third party softwares or tools using syslogs/rsyslogs.


Hi,

I am searching that how i can configure syslogs/rsyslog to receive third party tools or softwares logs. For example i have a program that generates logs like when it is started and logs about its services, alerts if there are any alarms etc. I want to forward these logs using syslogs/rsyslog. Is their any possibility how can i achieve that. I will be very grateful for any help.


Regards,
Raheel.
 
Old 08-22-2010, 04:03 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Asserting (not much information given) your application logs to a file (and can't be taught or modified to log to syslog directly) and that using a syslog pipe (examples: http://wiki.rsyslog.com/index.php/Wo..._configuration) is not what you're after, as far as I'm aware rsyslog does not support reading from arbitrary source files but syslog-ng does.
 
Old 08-22-2010, 12:02 PM   #3
Raheel Hassan
LQ Newbie
 
Registered: Mar 2009
Posts: 24

Original Poster
Rep: Reputation: 0
Thanks for your reply. In apache ErrorLog Directive provides this feature, but in my case i do not have any directive. I have also observed in Mandriva that they have also added the support of drakxtool using local1. I just want to add the similar support to my software logs so that i can transport my logs using syslog. If this is not possible then do you have any idea that how i can forward my software logs to another system.

Regards,
Raheel
 
Old 08-23-2010, 11:12 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by unSpawn View Post
as far as I'm aware rsyslog does not support reading from arbitrary source files
It seems Rsyslog does, see: http://www.rsyslog.com/doc/imfile.html
 
1 members found this post helpful.
Old 08-25-2010, 04:18 AM   #5
Raheel Hassan
LQ Newbie
 
Registered: Mar 2009
Posts: 24

Original Poster
Rep: Reputation: 0
Thank you very much. I think this will resolve my problem
 
  


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
install 3rd party softwares sujitkale Linux - Software 7 09-02-2007 06:10 AM
How to Install some 3rd party tools in linux? ashokg1981 Linux - Software 3 07-22-2007 02:53 PM
need info. on 3rd party tools Uday123 Programming 9 12-27-2005 11:12 PM
Third party softwares installation on redhat 9 shujja Linux - Software 1 08-03-2005 11:05 PM

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

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