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

Re: logging

<quote who="Ian Moroney">
> Hi guys. How can i set up logging for openldap so i can find out why the
> damn thing won't start? :P
> i've got the good old ldap_bind: can't contact LDAP server (-1)
> problem... and i'd like to look at a log file to see what is causing the
> problem
> I know how to set the loglevel to 256 in the configuration file, but no
> idea what file to look at for the output.
> Help! :D

Add to your syslog.conf:

LOCAL4.*    -/var/log/openldap.log

etc. and restart slapd and syslog



Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1224 279484
M +44 (0) 7930 323266
F +44 (0) 1224 824887
E ghenry@suretecsystems.com

Open Source. Open Solutions(tm).