[syslog-ng] How can i log messages from slapd in one file and not /var/log/messages

Fernando Loureiro loureiro.fernando at gmail.com
Fri Aug 11 17:15:03 CEST 2006


Hi All,

I want to know how can i have all my log messages inside a file called
slapd.log.

Actually it´s logging most messages in /var/log/messages and some in
/var/log/slapd/slapd.log.

I created the following filter for this daemon:
                                   filter  f_openldap  {
program(slapd);                            };

And, by the way, i don´t know whenever to use which of those filter
functions. Can somebody explain me?


Att,
-- Fernando


More information about the syslog-ng mailing list