How do I configure OpenLDAP logging in IMail server?
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:
loglevelLogging description
-1enable all debugging
0no debugging
1trace function calls
2debug packet handling
4heavy trace debugging
8connection management
16print out packets sent and received
32search filter processing
64configuration file processing
128access control list processing
256stats log connections/operations/results
512stats log entries sent
1024print communication with shell backends
2048print entry parsing debugging
The loglevel directive uses a decimal bit value so to set more than 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.
Version10.01; 10; 2006.1; 2006.2x; 2006.0x; 8.2x