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

From: Bennett Todd (bet@private)
Date: Wed Jan 04 2006 - 07:13:17 PST


2006-01-03T19:55:08 nevot:
> 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

Sounds like you want

	tail -f logfile | logger

You can use logger options to control the facility and priority,
specify a prefix tag, etc.

-Bennett



_______________________________________________
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:28:19 PST