<div class="gmail_quote">Dear community,<br><br>I am currently trying to setup a central syslog-ng server.<br> Almost everything is working, I just have some issue with filtering apache2 logs.<br><br>On the remote host I use the following to send apache2 :<br>

<br>source vhost_access { file(&quot;/var/log/apache2/vhost-access.log&quot;); };<br><br>This is working the central syslog server get the messages.<br><br>I setup a filter on the server to filter apache2 log such as :<br>

<br>filter f_apache { match(&quot;<a href="http://hostname.mydomain.fr" target="_blank">hostname.mydomain.fr</a>&quot;); };<br><br>this works.<br><br>The issue is that my apache2 logs match other filter, so I am logging messages 3 times :<br>

<br>filter f_messages { level(info,notice,warn) and<br>                    not facility(auth,authpriv,cron,daemon,mail,news); };<br><br>and :<br>filter f_user { facility(user) and not filter(f_debug); };<br><br><br>It seems that I have to play with default-priority() and default-facility() parameters.<br>

<br>I would like to know how do you deal with this kind of situation ?<br><br>Regards,<br><br>Hugo<br><br><br>
</div><br>