Chapter 2. Core Server Configuration Reference
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.
Section 2.3.1.33, "nsslapd-auditlog-maxlogsperdir (Audit Log Maximum Number of Log Files)"
See
more information.
Parameter
Entry DN
Valid Range
Default Value
Syntax
Example
2.3.1.31. nsslapd-auditlog-logrotationtimeunit (Audit Log Rotation Time
Unit)
This attribute sets the units for the nsslapd-auditlog-logrotationtime attribute.
Parameter
Entry DN
Valid Values
Default Value
Syntax
Example
2.3.1.32. nsslapd-auditlog-maxlogsize (Audit Log Maximum Log Size)
This attribute sets the maximum audit log size in megabytes. When this value is reached, the audit
log is rotated. That means the server starts writing log information to a new log file. If nsslapd-
auditlog-maxlogsperdir to 1, the server ignores this attribute.
When setting a maximum log size, consider the total number of log files that can be created due
to log file rotation. Also, remember that there are three different log files (access log, audit 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 audit log.
Parameter
Entry DN
Valid Range
Default Value
Syntax
24
Description
cn=config
-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.
1
Integer
nsslapd-auditlog-logrotationtime: 100
Description
cn=config
month | week | day | hour | minute
week
DirectoryString
nsslapd-auditlog-logrotationtimeunit: day
Description
cn=config
-1 | 1 to the maximum 32 bit integer value
(2147483647), where a value of -1 means the log
file is unlimited in size.
100
Integer
for
Need help?
Do you have a question about the DIRECTORY SERVER 8.1 and is the answer not in the manual?
Questions and answers