ParameterDescription

SyntaxDirectoryString

Example

nsslapd-enquote-sup-oc: off

2.3.1.42 nsslapd-errorlog (Error log)

This attribute sets the path and file name 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 “nsslapd-errorlog-level (Error log level)” for more information.

Parameter

Description

Entry DN

cn=config

 

 

Valid Values

Any valid file name

 

 

Default Value

/var/opt/dirsrv/slapd-instance_name/log/errors

 

 

Syntax

DirectoryString

 

 

Example

nsslapd-errorlog: /var/opt/dirsrv/slapd-example/log/errors

 

 

For error logging to be enabled, this attribute must have a valid path and file name, and the nsslapd-errorlog-logging-enabledconfiguration attribute must be switched to on. Table 2-6lists the four possible combinations of values for these two configuration attributes and their outcome in terms of disabling or enabling of error logging.

Table 2-6 Attribute values for enabling or disabling error logging

 

Value of the

 

 

nsslapd-errorlog-logging-enabled

 

Value of the nsslapd-errorlog Attribute

Attribute

Resulting logging state

 

 

 

empty string

on

Disabled

 

 

 

filename

on

Enabled

 

 

 

empty string

off

Disabled

 

 

 

filename

off

Disabled

 

 

 

2.3.1.43 nsslapd-errorlog-level (Error log level)

This attribute sets the level of logging for the Directory Server. The log level is additive; that is, specifying a value of 3 includes both levels 1 and 2.

2.3 Core server configuration attributes reference

39