flushed to the file. Disabling log buffering can severely impact performance in heavily loaded servers.

Parameter

Description

Entry DN

cn=config

 

 

Valid Values

on or off

 

 

Default Value

on

 

 

Syntax

Directory String

 

 

Example

nsslapd-accesslog-logbuffering: off

 

 

2.3.1.5 nsslapd-accesslog-logexpirationtime (Access log expiration time)

This attribute specifies the maximum age that a log file is allowed to reach before it is deleted. This attribute supplies only the number of units. The units are provided by the nsslapd-accesslog-logexpirationtimeunit attribute.

Parameter

Description

Entry DN

cn=config

 

 

Valid Range

–1 to the maximum 32-bit integer value (2147483647)

 

A value of -1 or 0 means that the log never expires.

 

 

Default Value

–1

 

 

Syntax

Integer

 

 

Example

nsslapd-accesslog-logexpirationtime: 2

 

 

2.3.1.6 nsslapd-accesslog-logexpirationtimeunit (Access log expiration time unit)

This attribute specifies the units for nsslapd-accesslog-logexpirationtimeattribute. If the unit is unknown by the server, then the log never expires.

Parameter

Description

Entry DN

cn=config

 

 

Valid Values

month weekday

 

 

Default Value

month

 

 

Syntax

Directory String

 

 

Example

nsslapd-accesslog-logexpirationtimeunit: week

 

 

2.3.1.7 nsslapd-accesslog-logging-enabled (Access log enable logging)

Disables and enables accesslog logging but only in conjunction with the nsslapd-accesslogattribute that specifies the path and parameter of the log used to record each database access. The following table describes the attribute parameters.

Parameter

Description

Entry DN

cn=config

 

 

Valid Values

on or off

 

 

Default Value

on

 

 

2.3 Core server configuration attributes reference

25