nsslapd-accesslog-maxlogsperdir
larger than 1, the server then checks the
attribute. See "nsslapd-accesslog-maxlogsperdir (Access Log Maximum Number of
Log Files)" on page 42 for more information.
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 access log file rotation is unlimited.
Default Value:
1
Syntax:
Integer
Example:
nsslapd-accesslog-logrotationtime: 100
nsslapd-accesslog-logrotationtimeunit (Access Log Rotation Time
Unit)
Specifies the units for the
Entry DN:
cn=config
Valid Range:
month | week | day | hour | minute
Default Value:
day
Syntax:
DirectoryString
Example:
nsslapd-accesslog-logrotationtimeunit: week
nsslapd-accesslog-maxlogsize (Access Log Maximum Log Size)
Specifies the maximum access log size in megabytes. When this value is reached,
the access log is rotated. That is, the server starts writing log information to a new
log file. If you set
nsslapd-accesslog-maxlogsperdir
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 3 different log files
(access log, audit log, and error log) maintained by the Directory Server, each of
which will consume disk space. Compare these considerations to the total amount
of disk space that you want to be used by the access log.
attribute first and if this attribute value is
nsslapd-accesslog-logrotationtime
nsslapd-accesslog-logrotationtime
Chapter 2
Core Server Configuration Attributes Reference
attribute.
attribute to 1, the server
Core Server Configuration Reference
41