2.3.1.10 nsslapd-accesslog-logrotationsync-enabled (Access log rotation sync enabled)

This attribute sets whether access 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 access log rotation to be synchronized with time-of-day, this attribute must be enabled with the nsslapd-accesslog-logrotationsynchour and nsslapd-accesslog-logrotationsyncmin attribute values set to the hour and minute of the day for rotating log files.

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

Parameter

Description

Entry DN

cn=config

 

 

Valid Values

on or off

 

 

Default Value

off

 

 

Syntax

DirectoryString

 

 

Example

nsslapd-accesslog-logrotationsync-enabled: on

 

 

2.3.1.11 nsslapd-accesslog-logrotationsynchour (Access log rotation sync hour)

This attribute sets the hour of the day for rotating access logs. This attribute must be used in conjunction with nsslapd-accesslog-logrotationsync-enabled and nsslapd-accesslog-logrotationsyncmin attributes.

Parameter

Description

Entry DN

cn=config

 

 

Valid Range

0 through 23

 

 

Default Value

0

 

 

Syntax

Integer

 

 

Example

nsslapd-accesslog-logrotationsynchour: 23

 

 

2.3.1.12 nsslapd-accesslog-logrotationsyncmin (Access log rotation sync minute)

This attribute sets the minute of the day for rotating access logs. This attribute must be used in conjunction with nsslapd-accesslog-logrotationsync-enabled and nsslapd-accesslog-logrotationsynchour attributes.

Parameter

Description

Entry DN

cn=config

 

 

Valid Range

0 through 59

 

 

Default Value

0

 

 

Syntax

Integer

 

 

Example

nsslapd-accesslog-logrotationsyncmin: 30

 

 

2.3 Core server configuration attributes reference

27