Core Server Configuration Attributes Reference
Chapter 2 Core Server Configuration Reference 43
nsslapd-accesslog-logrotationtime (Access Log Rotation Time)
Specifies the time between access log file rotations. The access log will be rotated
when this time interval is up, regardless of the current size of the access log. This
attribute supplies only the number of units. The units (day, week, month, and so
forth) are given by the
nsslapd-accesslog-logrotationtimeunit
attribute.
Although it is not recommended for performance reasons to specify no log rotation
since the log will grow indefinitely, you have two ways of specifying this. Either
you set the
nsslapd-accesslog-maxlogsperdir
attribute value to
1
or the
nsslapd-accesslog-logrotationtime
attribute to
-1
. The server checks the
nsslapd-accesslog-maxlogsperdir
attribute first, and, if this attribute value is
larger than 1, the server then checks the
nsslapd-accesslog-logrotationtime
attribute. See “nsslapd-accesslog-maxlogsperdir (Access Log Maximum Number of
Log Files),” on page 44, for more information.
nsslapd-accesslog-logrotationtimeunit (Access Log Rotation Time Unit)
Specifies the units for the
nsslapd-accesslog-logrotationtime
attribute.
Default Value: 0
Syntax: Integer
Example: nsslapd-accesslog-logrotationsyncmin: 30
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
Entry DN: cn=config
Valid Values: month | week | day | hour | minute
Default Value: day
Syntax: DirectoryString