You can set the logging level in the file: \IMail\OpenLDAP\Bin\slapd.conf
Find this section:
#
# Logging Info
#
loglevel 296
local4.debug slapd.log
The OpenLDAP logging level is set using the following command:
loglevel number
The possible values for number are:
loglevel | Logging description |
-1 | enable all debugging |
0 | no debugging |
1 | trace function calls |
2 | debug packet handling |
4 | heavy trace debugging |
8 | connection management |
16 | print out packets sent and received |
32 | search filter processing |
64 | configuration file processing |
128 | access control list processing |
256 | stats log connections/operations/results |
512 | stats log entries sent |
1024 | print communication with shell backends |
2048 | print entry parsing debugging |
The loglevel directive uses a decimal bit value so to set more that one logging level you need to add the decimal numbers as in the following examples:
loglevel 255 or loglevel -1
# sets 1, 2, 4, 8, 16, 32, 64 and 128
loglevel 2176
# 2048 + 128
loglevel 296
# 256 + 32 + 8
Stop and restart the LDAP service after a change.
Save a copy of slapd.conf before you make changes. Changes to slapd.conf are not supported by Ipswitch.