2.3.1.28 nsslapd-auditlog-logrotationsyncmin (Audit log rotation sync minute)

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

Parameter

Description

Entry DN

cn=config

Valid Range

0 through 59

Default Value

None (because nsslapd-auditlog-logrotationsync-enabled is off)

Syntax

Integer

Example

nsslapd-auditlog-logrotationsyncmin: 30

2.3.1.29 nsslapd-auditlog-logrotationtime (Audit log rotation time)

This attribute sets the time between audit log file rotations. The audit log is rotated when this time interval is up, regardless of the current size of the audit log. This attribute supplies only the number of units. The units (day, week, month, and so forth) are given by the nsslapd-auditlog-logrotationtimeunit attribute. If the nsslapd-auditlog-maxlogsperdir attribute is set to 1, the server ignores this attribute.

Although it is not recommended for performance reasons to specify no log rotation, as the log grows indefinitely, there are two ways of specifying this. Either set the nsslapd-auditlog-maxlogsperdir attribute value to 1 or set the nsslapd-auditlog-logrotationtime attribute to -1. The server checks the nsslapd-auditlog-maxlogsperdir attribute first, and, if this attribute value is larger than 1, the server then checks the nsslapd-auditlog-logrotationtime attribute. See “nsslapd-auditlog-maxlogsperdir (Audit log maximum number of log files)” for more information.

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

 

time between audit log file rotation is unlimited.

Default Value

1

Syntax

Integer

Example

nsslapd-auditlog-logrotationtime: 100

2.3.1.30 nsslapd-auditlog-logrotationtimeunit (Audit log rotation time unit)

This attribute sets the units for the nsslapd-auditlog-logrotationtimeattribute.

Parameter

Description

Entry DN

cn=config

Valid Values

month week day hour minute

Default Value

week

Syntax

DirectoryString

Example

nsslapd-auditlog-logrotationtimeunit: day

34 Core server configuration reference

Page 34
Image 34
HP UX Identity Security Software manual Nsslapd-auditlog-logrotationtime Audit log rotation time