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

Logging events to a log file

Hello List,

When I start slapd with the option -d 256 I can see what's happening when there's a connection
# /usr/local/libexec/slapd -4 -d 256 -u _openldap -g _openldap -h ldaps:///

However I would like to have this in a log file and I added these lines to slapd.conf
loglevel        256
logfile         /var/log/slapd.log
But my log file remains empty after I start the server with (without -d 256)

# /usr/local/libexec/slapd -4 -u _openldap -g _openldap -h ldaps:///

However if I start the server with
# /usr/local/libexec/slapd -4 -d 256 -u _openldap -g _openldap -h ldaps:///
The events display on the screen and in the slapd.log file as well. This behavior surprises me, am I missing something ?

My ldap server version is 2.4.26p0

Thank you