[Date Prev][Date Next]
Re: LDAP logging question
Is there any chance of logging LDAP not using the syslog??????my problem
is, i have more then 1 ldap server in the computer and want to have
separated logs of each server.
Yep, a much better solution than using syslog is to use Daemontools:
You can setup as many slapd instances as you like, each going to their
own log directory, e.g. /var/multilog/slapd1, /var/multilog/slapd2, etc...
Here is I run OL under Daemontools (supervise):
# cat /service/slapd/run
# daemontools run script for slapd service
# ** "foreground" version **
echo "*** Starting slapd..."
-d 256 \
# cat /service/slapd/log/run
setuidgid multilog \
envdir ./env \
sh -c '
Be sure to create /var/multilog/slapd and
`chown -R multilog:nobody /var/multilog'
Assuming you use multilog as the logging user, and nobody as his group.