1
# $OpenLDAP: pkg/openldap-guide/admin/slapdconfig.sdf,v 1.87.2.14 2008/04/14 20:48:16 quanah Exp $
2
# Copyright 1999-2008 The OpenLDAP Foundation, All Rights Reserved.
1
# $OpenLDAP: pkg/openldap-guide/admin/slapdconfig.sdf,v 1.87.2.19 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.
5
5
H1: The slapd Configuration File
58
58
A configuration directive may take arguments. If so, they are
59
separated by white space. If an argument contains white space,
59
separated by whitespace. If an argument contains whitespace,
60
60
the argument should be enclosed in double quotes {{EX:"like this"}}. If
61
61
an argument contains a double quote or a backslash character `{{EX:\}}',
62
62
the character should be preceded by a backslash character `{{EX:\}}'.
136
136
the {{syslogd}}(8) {{EX:LOG_LOCAL4}} facility). You must have
137
137
configured OpenLDAP {{EX:--enable-debug}} (the default) for this
138
138
to work (except for the two statistics levels, which are always
139
enabled). Log levels are additive. To display what numbers
140
correspond to what kind of debugging, invoke slapd with {{EX:-?}}
139
enabled). Log levels may be specified as integers or by keyword.
140
Multiple log levels may be used and the levels are additive. To display what
141
numbers correspond to what kind of debugging, invoke slapd with {{EX:-d?}}
141
142
or consult the table below. The possible values for <integer> are:
143
144
!block table; colaligns="RL"; align=Center; \
144
145
title="Table 6.1: Debugging Levels"
146
-1 enable all debugging
148
1 trace function calls
149
2 debug packet handling
150
4 heavy trace debugging
151
8 connection management
152
16 print out packets sent and received
153
32 search filter processing
154
64 configuration file processing
155
128 access control list processing
156
256 stats log connections/operations/results
157
512 stats log entries sent
158
1024 print communication with shell backends
159
2048 print entry parsing debugging
146
Level Keyword Description
147
-1 any enable all debugging
149
1 (0x1 trace) trace function calls
150
2 (0x2 packets) debug packet handling
151
4 (0x4 args) heavy trace debugging
152
8 (0x8 conns) connection management
153
16 (0x10 BER) print out packets sent and received
154
32 (0x20 filter) search filter processing
155
64 (0x40 config) configuration processing
156
128 (0x80 ACL) access control list processing
157
256 (0x100 stats) stats log connections/operations/results
158
512 (0x200 stats2) stats log entries sent
159
1024 (0x400 shell) print communication with shell backends
160
2048 (0x800 parse) print entry parsing debugging
161
16384 (0x4000 sync) syncrepl consumer processing
162
32768 (0x8000 none) only messages that get logged whatever log level is set
165
The desired log level can be input as a single integer that
166
combines the (ORed) desired levels, both in decimal or in hexadecimal
167
notation, as a list of integers (that are ORed internally), or as a list of the names that are shown between brackets, such that
166
181
This will cause lots and lots of debugging information to be
184
E: loglevel conns filter
186
Just log the connection and search filter processing.
190
Log those messages that are logged regardless of the configured loglevel. This
191
differs from setting the log level to 0, when no logging occurs. At least the
192
{{EX:None}} level is required to have high priority messages logged.
198
Basic stats logging is configured by default. However, if no loglevel is
199
defined, no logging occurs (equivalent to a 0 level).
174
201
H4: objectclass <{{REF:RFC4512}} Object Class Description>