Server User Manual

cn=config
29
Parameter Description
Default Value off
Syntax DirectoryString
Example nsslapd-enquote-sup-oc: off
2.3.1.43. nsslapd-errorlog (Error Log)
This attribute sets the path and filename of the log used to record error messages generated by
the Directory Server. These messages can describe error conditions, but more often they contain
informative conditions, such as:
Server startup and shutdown times.
The port number that the server uses.
This log contains differing amounts of information depending on the current setting of the Log Level
attribute. See Section 2.3.1.44, “nsslapd-errorlog-level (Error Log Level)” for more information.
Parameter Description
Entry DN cn=config
Valid Values Any valid filename
Default Value /var/log/dirsrv/slapd-instance_name/errors
Syntax DirectoryString
Example nsslapd-errorlog: /var/log/dirsrv/
slapd-instance_name/errors
For error logging to be enabled, this attribute must have a valid path and filename, and the nsslapd-
errorlog-logging-enabled configuration attribute must be switched to on. The table lists the four
possible combinations of values for these two configuration attributes and their outcome in terms of
disabling or enabling of error logging.
Attributes in dse.ldif Value Logging enabled or disabled
nsslapd-errorlog-logging-
enabled
nsslapd-errorlog
on
empty string
Disabled
nsslapd-errorlog-logging-
enabled
nsslapd-errorlog
on
filename
Enabled
nsslapd-errorlog-logging-
enabled
nsslapd-errorlog
off
empty string
Disabled
nsslapd-errorlog-logging-
enabled
nsslapd-errorlog
off
filename
Disabled
Table 2.6. Possible Combinations for nsslapd-errorlog Configuration Attributes