| Main Archive Page > Month Archives > syslog-ng-users archives |
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] ______________________________________________________________________________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.balabit.com/wiki/syslog-ng-faq