Thanks!!! With This configuration it Works great: log { source(s_all); filter(f_local5); destination(d_apache); flags(final); }; log { source(s_all); destination(extern); }; Best regards. -----Mensaje original----- De: syslog-ng-bounces@lists.balabit.hu [mailto:syslog-ng-bounces@lists.balabit.hu] En nombre de Gergely Nagy Enviado el: jueves, 14 de julio de 2011 12:29 Para: Syslog-ng users' and developers' mailing list Asunto: Re: [syslog-ng] Apache vhost logs Josu Lazkano <josu.lazkano@barcelonamedia.org> writes:
Perfect!
The last last question, is it posible to NOT write on local5 file?
I have same info on the apache and local5 files.
Yes. Make the log{} block with the d_apache destination the first log{} block in your config, and add a flags(final) flag to it: log { source(s_all); filter(f_local5); destination(d_apache); flags(final); }; See the relevant section of the documentation here: http://www.balabit.com/sites/default/files/documents/syslog-ng-ose-v3.2-guid... -- |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