log, and error log) maintained by the Directory Server, each of which consumes disk space. Compare these considerations to the total amount of disk space for the error log.

Parameter

Description

Entry DN

cn=config

 

 

Valid Range

-1 1 to the maximum 32-bit integer value (2147483647), where a value of -1 means that the

 

disk space allowed to the error log is unlimited in size.

 

 

Default Value

500

 

 

Syntax

Integer

 

 

Example

nsslapd-errorlog-logmaxdiskspace: 500

 

 

2.3.1.49 nsslapd-errorlog-logminfreediskspace (Error log minimum free disk space)

This attribute sets the minimum allowed free disk space in megabytes. When the amount of free disk space falls below the value specified on this attribute, the oldest error log is deleted until enough disk space is freed to satisfy this attribute.

Parameter

Description

Entry DN

cn=config

 

 

Valid Range

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

 

 

Default Value

5

 

 

Syntax

Integer

 

 

Example

nsslapd-errorlog-logminfreediskspace: 5

 

 

2.3.1.50 nsslapd-errorlog-logrotationsync-enabled (Error log rotation sync enabled)

This attribute sets whether error log rotation is to be synchronized with a particular time of the day. Synchronizing log rotation this way can generate log files at a specified time during a day, such as midnight to midnight every day. This makes analysis of the log files much easier because they then map directly to the calendar.

For error log rotation to be synchronized with time-of-day, this attribute must be enabled with the nsslapd-errorlog-logrotationsynchour and nsslapd-errorlog-logrotationsyncmin attribute values set to the hour and minute of the day for rotating log files.

For example, to rotate error log files every day at midnight, enable this attribute by setting its value to on, then set the values of the nsslapd-errorlog-logrotationsynchour and nsslapd-errorlog-logrotationsyncmin attributes to 0.

Parameter

Description

Entry DN

cn=config

 

 

Valid Values

on or off

 

 

Default Value

off

 

 

Syntax

DirectoryString

 

 

Example

nsslapd-errorlog-logrotationsync-enabled: on

 

 

42 Core server configuration reference