[logs] Re: send text files via syslog in real-time

From: Devdas Bhagat (devdas@private)
Date: Tue Jan 03 2006 - 22:22:02 PST


On 03/01/06 20:55 +0100, nevot wrote:
> hi all!
> 
> we have a couple of programs that generate logs directly in files of
> its own, and we want to send them in real-time via syslog
> 
> do you know of any utility (linux) for doing this?
> 
logger(1)     
logger -- a shell command interface to the syslog(3) system log module

Alternatively, it should be trivial to script a Perl script which
accepts input on a pipe/socket and writes that to Syslog, or even does a
tail -f on the logfile and sends it to syslog. 

Devdas Bhagat
_______________________________________________
LogAnalysis mailing list
LogAnalysis@private
http://lists.shmoo.com/mailman/listinfo/loganalysis



This archive was generated by hypermail 2.1.3 : Wed Jan 04 2006 - 09:29:44 PST