1
# $OpenLDAP: pkg/openldap-guide/admin/runningslapd.sdf,v 1.16.2.5 2008/02/11 23:26:39 kurt Exp $
2
# Copyright 1999-2008 The OpenLDAP Foundation, All Rights Reserved.
1
# $OpenLDAP: pkg/openldap-guide/admin/runningslapd.sdf,v 1.16.2.8 2009/02/06 16:38:31 quanah Exp $
2
# Copyright 1999-2009 The OpenLDAP Foundation, All Rights Reserved.
3
3
# COPYING RESTRICTIONS APPLY, see COPYRIGHT.
22
22
> -F <slapd-config-directory>
24
Specifies the slapd configuration directory. The default is {{F:/usr/local/etc/openldap/slapd.d}}
24
Specifies the slapd configuration directory. The default is {{F:/usr/local/etc/openldap/slapd.d}}.
26
26
If both {{EX:-f}} and {{EX:-F}} are specified, the config file will be read and converted
27
27
to config directory format and written to the specified directory.
81
81
!block table; colaligns="RL"; align=Center; \
82
82
title="Table 7.1: Debugging Levels"
84
-1 enable all debugging
86
1 trace function calls
87
2 debug packet handling
88
4 heavy trace debugging
89
8 connection management
90
16 print out packets sent and received
91
32 search filter processing
92
64 configuration file processing
93
128 access control list processing
94
256 stats log connections/operations/results
95
512 stats log entries sent
96
1024 print communication with shell backends
97
2048 print entry parsing debugging
83
Level Keyword Description
84
-1 any enable all debugging
86
1 (0x1 trace) trace function calls
87
2 (0x2 packets) debug packet handling
88
4 (0x4 args) heavy trace debugging
89
8 (0x8 conns) connection management
90
16 (0x10 BER) print out packets sent and received
91
32 (0x20 filter) search filter processing
92
64 (0x40 config) configuration processing
93
128 (0x80 ACL) access control list processing
94
256 (0x100 stats) stats log connections/operations/results
95
512 (0x200 stats2) stats log entries sent
96
1024 (0x400 shell) print communication with shell backends
97
2048 (0x800 parse) print entry parsing debugging
98
16384 (0x4000 sync) syncrepl consumer processing
99
32768 (0x8000 none) only messages that get logged whatever log level is set
100
You may enable multiple levels by specifying the debug option
101
once for each desired level. Or, since debugging levels are
102
additive, you can do the math yourself. That is, if you want
103
to trace function calls and watch the config file being
104
processed, you could set level to the sum of those two levels
105
(in this case, {{EX: -d 65}}). Or, you can let slapd do the
106
math, (e.g. {{EX: -d 1 -d 64}}). Consult {{F: <ldap_log.h>}} for
102
You may enable multiple levels by specifying the debug option once for each desired level. Or, since debugging levels are additive, you can do the math yourself. That is, if you want to trace function calls and watch the config file being processed, you could set level to the sum of those two levels (in this case, {{EX: -d 65}}). Or, you can let slapd do the math, (e.g. {{EX: -d 1 -d 64}}). Consult {{F: <ldap_log.h>}} for more details.
109
Note: slapd must have been compiled with {{EX:-DLDAP_DEBUG}}
104
Note: slapd must have been compiled with {{EX:--enable-debug}}
110
105
defined for any debugging information beyond the two stats levels
106
to be available (the default).
114
109
H2: Starting slapd