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

Description of debug-level in slapd(8)

Hi *, 

A Debian user asked for a description of debugging options in the
slapd(8) manpage in http://bugs.debian.org/176980.

I just tried to update the manpage to contain a list of available
values and discovered that they are already described in 
slapd.conf(5). Therefore I changed slapd.8 as in the attached

Perhaps you could do something like this to the official sources 
so people stop wondering about the debug-level. In any case the
refernce to ldap.h is bogus as well as the DEBUG_xxx contants are
defined in ldap_log.h.

As a side note: The list in slapd.conf(5) is not complete, the
description of LDAP_DEBUG_CACHE and LDAP_DEBUG_INDEX is missing.


Index: doc/man/man8/slapd.8
--- doc/man/man8/slapd.8	(revision 178)
+++ doc/man/man8/slapd.8	(working copy)
@@ -72,7 +72,9 @@
 will not fork or disassociate from the invoking terminal.  Some general
 operation and status messages are printed for any value of \fIdebug\-level\fP.
 \fIdebug\-level\fP is taken as a bit string, with each bit corresponding to a
-different kind of debugging information.  See <ldap.h> for details.
+different kind of debugging information. The meaning is the same as for 
+the \fBloglevel\fP configuration option documented in  
+.BR slapd.conf (5).
 Remember that if you turn on packet logging, packets containing bind passwords
 will be output, so if you redirect the log to a logfile, that file should
 be read-protected.

Attachment: pgpURMjkpSYeK.pgp
Description: PGP signature