[syslog-ng]apache logs

Brad Arlt arlt@cpsc.ucalgary.ca
Wed, 21 Feb 2001 08:15:12 -0700


On Wed, Feb 21, 2001 at 10:56:32AM +0000, laurence@uwc.ac.za wrote:
> At the moment thats what Im doing : )
> 
> tail -f /var/lib/apache/logs/access_log | logger -p notice -t apache
> for the record but I was wondering if there are any more seamless ways 
> around it.

I haven't tried this yet (nor thought about the deeper implications),
but you could make the log files themselves a pipe (a pipe file), and
have syslog-ng read from these pipes.  This seems to be the simplest way
to do it, but I have a feeling this might not be the best approach.

----------------------------------------------------------------------------
   __o		Bradley Arlt	  Email: arlt@cpsc.ucalgary.ca         o__
 _ \<_				    WWW: www.acs.ucalgary.ca/~bdarlt   _>/ _
(_)/(_)  -Eat well, sleep peacefully, drink lots, and ride like hell. (_)\(_)