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

RE: loglevel and logfile



Hi, I am using OpenLDAP 2.4.11 on Solaris 10 and did this to direct to a specific logfile...
 

/usr/local/libexec/slapd -d 64 -d 256 2> /tmp/slapd.log

 

Regards,
 
Mark



From: openldap-technical-bounces+malydon=att.com@openldap.org [mailto:openldap-technical-bounces+malydon=att.com@openldap.org] On Behalf Of Ashraf Mohamed
Sent: 06 October 2008 18:57
To: openldap-technical@openldap.org
Subject: loglevel and logfile

hi,
 
I am trying to turn on debugging for slapd and direct the debug output to a specific file on OpenLDAP 2.4.11 on linux without using syslog.
 
I tried using slapd.conf; configured logfile and loglevel. And the only way I could get it working is by passing in the -d option to slapd.
It does not seem to use the loglevel/logfile values if I don't pass in the -d option.
 
I also tried using slapd.d. I am able to set olcLogLevel but I can't set olcLogFile. It won't even let me add it to the config.
 
Ideas? Thanks much.
 
Ashraf