nsslapd-auditlog-maxlogsperdir

Specify the total number of access, audit, or error logs that can be contained in the access, audit, or error logs directory

Description

PROPERTY

VALUE

Entry DN

cn=config

Valid Range

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

Default Value

10

Syntax

Integer

This attribute specifies the total number of access, audit, or error logs that can be contained in the respective directory.

Each time the access log is rotated, a new log file is created. When the number of files contained in the access log directory exceeds the value stored on this attribute, the oldest version of the log file is deleted. The same scenario is true for audit logs and error logs.

If you set this value to 1, the server will not rotate the log and it will grow indefinitely.

If the value for this attribute is higher than 1, check the nsslapd-accesslog-logrotationtime,nsslapd-auditlog-logrotationtime, or nsslapd-errorlog-logrotationtime attribute to establish whether or not log rotation is specified.

If the nsslapd-accesslog-logrotationtime, nsslapd-auditlog-logrotationtime, or nsslapd-errorlog-logrotationtime attribute has a value of -1, there is no rotation of the respective log.

For more information, refer to the nsslapd-accesslog-logrotationtime, nsslapd-auditlog-logrotationtime, or nsslapd-errorlog-logrotationtime man page.