Discussion:
Log file location
Pravin Joshi
2002-10-13 13:59:31 UTC
Permalink
Where is the log file located by default? I have not specified it in
slapd.conf. Please guide. Thanks.

Regards
Pravin Joshi
Yonah Russ
2002-10-13 14:18:04 UTC
Permalink
I believe (I'm new at this also) that slapd logs to syslog. If you
haven't played around with your syslog configuration, you will probably
find your slapd messages in /var/log/messages.

You may find that running slapcat -d -1 is useful for debugging your
schema- I found it more useful than the slapd logs(even with the
loglevel set very high)

you can also run slapd -d -1 and watch the debugging in your terminal
window- also useful

Hope that helps!
yonah
Post by Pravin Joshi
Where is the log file located by default? I have not specified it in
slapd.conf. Please guide. Thanks.
Regards
Pravin Joshi
Jehan PROCACCIA
2002-10-14 07:47:08 UTC
Permalink
You can also use the [-l syslog-local-user] option to slapd
slapd -l LOCAL3 for exemple and then put in your syslog.conf a line:
local3.* /var/log/ldap.log
Post by Yonah Russ
I believe (I'm new at this also) that slapd logs to syslog. If you
haven't played around with your syslog configuration, you will probably
find your slapd messages in /var/log/messages.
You may find that running slapcat -d -1 is useful for debugging your
schema- I found it more useful than the slapd logs(even with the
loglevel set very high)
you can also run slapd -d -1 and watch the debugging in your terminal
window- also useful
Hope that helps!
yonah
Post by Pravin Joshi
Where is the log file located by default? I have not specified it in
slapd.conf. Please guide. Thanks.
Regards
Pravin Joshi
--
Jehan Procaccia
Institut National des Telecommunications| Email:
***@int-evry.fr
MCI, Moyens Communs Informatiques | Tel : +33 (0) 160764436
9 rue Charles Fourier 91011 Evry France | Fax : +33 (0) 160764321
Loading...