Debugging Options
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 |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access