Server User Manual

Chapter 5. Log File Reference
230
5.2.1. Error Log Logging Levels
The error log can record different amounts of detail for operations, as well as different kinds of
information depending on the type of error logging enabled.
The logging level is set in the nsslapd-errorlog-level
5
configuration attribute. The default log level is
16384, which included critical error messages and standard logged messages, like LDAP results
codes and startup messages. As with access logging, error logging levels are additive. To enable both
replication logging (8192) and plug-in logging (65536), set the log level to 73728 (8192 + 65536).
NOTE
Enabling high levels of debug logging can significantly erode server performance.
Debug log levels, such as replication (8192) should only be enabled for
troubleshooting, not for daily operations.
Setting Console Name Description
1 Trace function calls Logs a message when the
server enters and exits a
function.
2 Packeting handlings Logs debug information for
packets processed by the
server.
4 Heavy trace output Logs when the server
enters and exits a function,
with additional debugging
messages.
8 Connection management Logs the current connection
status, including the connection
methods used for a SASL bind.
16 Packets sent/received Print out the numbers of
packets sent and received by
the server.
32 Search filter processing Logs all of the functions called
by a search operation.
64 Config file processing Prints any .conf configuration
files used with the server,
line by line, when the server
is started. By default, only
slapd-collations.conf is
available and processed.
128 Access control list processing
2048 Log entry parsing. Logs schema parsing
debugging information.
5
Configuration_Command_File_Reference-Core_Server_Configuration_Reference-
Core_Server_Configuration_Attributes_Reference.html#Configuration_Command_File_Reference-cnconfig-
nsslapd_errorlog_level_Error_Log_Level