14 Jul
2011
14 Jul
'11
10:40 a.m.
Josu Lazkano <josu.lazkano@barcelonamedia.org> writes:
Thanks!!!
This work for me, las question.
Is possible to add a facility name on apache to archive on the logserver as "apache" file?
Facilities are transmitted as numbers over the wire. Using the CustomLog suggested by Matias, you could do something like this on server side: filter f_local5 { facility(local5); }; destination d_apache { file("/var/log/apache.log"); }; log { source(s_all); filter(f_local5); destination(d_apache); }; (Not tested, but should work nevertheless) -- |8]