[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: OpenLDAP not logging



At 02:59 PM 1/4/2005, you wrote:
On Tue, 4 Jan 2005, JD wrote:

>
> I am unable to get OpenLDAP to log. Here is my setup:
>
> - FreeBSD 4.10-RELEASE
> - openldap-sasl-server-2.2.19
> - openldap-sasl-client-2.2.19
>
> Set loglevel -1 in slapd.conf.
>
> Set local4.* /var/log/ldap.log in /etc/syslog.conf (rebooted)
>
> Still, I get no logging:
>
> # ls -al /var/log/ldap.log
> -rw-------  1 ldap  ldap  0 Jan  3 04:35 /var/log/ldap.log
>
> I'd appreciate your suggestions...

Try using a program match instead. Remove your local4 line and put this at
the bottom of your syslog.conf, then killall -HUP syslogd:

!slapd
*.*                     /var/log/ldap.log

Yes, it works now, thank you!

Just wondering: Is this a bug in OpenLDAP or in syslogd?

jd