2008/3/12, Rainer Gerhards <[EMAIL PROTECTED]>:
> > mmmmm...i'll check that better but at a glance it seems a heavy
>  > process with big logs.
>
>
> Sorry, I don't really understand what you mean ;) But the problem is
>  that I probably do not really know how what you do with logger really
>  works. It is part of the apache config, is this right? Maybe you could
>  post a full config sample?
>
but i did...
this is the log part in the <virtualhost> directive
ErrorLog "|/usr/bin/logger -p local5.err -t error_www.mysite.com"
CustomLog "|/usr/bin/logger -p local6.info -t www.mysite.com " "combined"

in practice i pass the ErrorLog and CustomLog to /usr/bin/logger with
facility "-p local*.xxx" with tag "-t www.mysite.com"

then i can use the tag to split logs by website in the remote rsyslog machine ;)

-- 
mr
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog

Reply via email to