Most OpenLDAP tools provide an option for setting the log level during execution. Table B-1 lists the information recorded with each level. Log levels are additive, so a log level of 24 means to print packets sent and received as well as logging all connection management functions.
Level |
Information recorded |
---|---|
-1 |
All logging information |
0 |
No logging information |
1 |
Trace function calls |
2 |
Packet-handling debugging information |
4 |
Heavy trace debugging |
8 |
Connection management |
16 |
Packets sent and received |
32 |
Search filter processing |
64 |
Configuration file processing |
128 |
Access control list processing |
256 |
Statistics for connection, operations, and results |
512 |
Statistics for results returned to clients |
1024 |
Communication with shell backends |
2048 |
Entry-parsing debugging information |