[rsyslog] rsyslog with apache and per vhost log

Maurizio Rottin maurizio.rottin at gmail.com
Wed Mar 12 11:24:08 CET 2008


2008/3/12, Rainer Gerhards <rgerhards at hq.adiscon.com>:
> [happy snip]
>
> > just one question, do you know any way to pass the website name in
>  > "/usr/bin/logger -p local5.err -t error_www.mysite.com", even using an
>  > other program...i know only logger...
>
>
> Well, you could use the imfile plugin to read the log files directly:
>
>  http://www.rsyslog.com/doc-imfile.html
>
>  Then, I'd set the site name as tag and so you can process it from the
>  tag value.
>
>  HTH
>
> Rainer
>
mmmmm...i'll check that better but at a glance it seems a heavy
process with big logs.

-- 
mr



More information about the rsyslog mailing list