Can't get syslog-ng to accept my ldap log-conf
Hi people! I can't seem to get syslog-ng to start with my conf. Can anyone help me out with my conf? The ldap part looks like this: source s_all { unix-stream("/dev/log"); internal(); }; destination d_ldap { file("/var/log/ldap[?].log"); }; filter f_syslog { not facility(auth, authpriv) and not match(slapd); }; filter f_ldap { match("slapd"); }; log { source(s_all); filter(f_syslog); destination(d_syslog); }; log { source(s_all); filter(f_ldap); destination(d_ldap); }; Thanks in advance, and have a great weekend =) // Wilhelm Linder Rosén
Hi Wilhelm, restarting syslog-ng with your configuration results in the message: Error in configuration, unresolved destination reference; filter='d_syslog' So, define destination d_syslog and syslog-ng will start. regards, Siem Korteweg -----Oorspronkelijk bericht----- Van: syslog-ng-bounces@lists.balabit.hu namens Wilhelm Linder Rosén Verzonden: vr 25-9-2009 15:48 Aan: syslog-ng@lists.balabit.hu Onderwerp: [syslog-ng] Can't get syslog-ng to accept my ldap log-conf Hi people! I can't seem to get syslog-ng to start with my conf. Can anyone help me out with my conf? The ldap part looks like this: source s_all { unix-stream("/dev/log"); internal(); }; destination d_ldap { file("/var/log/ldap[?].log"); }; filter f_syslog { not facility(auth, authpriv) and not match(slapd); }; filter f_ldap { match("slapd"); }; log { source(s_all); filter(f_syslog); destination(d_syslog); }; log { source(s_all); filter(f_ldap); destination(d_ldap); }; Thanks in advance, and have a great weekend =) // Wilhelm Linder Rosén _____________________________________________________________________________ _ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.campin.net/syslog-ng/faq.html
participants (2)
-
Siem Korteweg
-
Wilhelm Linder Rosén