Red Hat DIRECTORY SERVER 8.0 Command Reference Manual page 27

Hide thumbs Also See for DIRECTORY SERVER 8.0:
Table of Contents

Advertisement

Parameter
Default Value
Syntax
Example
2.3.1.13. nsslapd-accesslog-logrotationtime (Access Log Rotation Time)
This attribute sets the time between access log file rotations. The access log is 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
grows indefinitely, there are two ways of specifying this. Either set the nsslapd-accesslog-
maxlogsperdir attribute value to 1 or set 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
Maximum Number of Log Files)"
Parameter
Entry DN
Valid Range
Default Value
Syntax
Example
2.3.1.14. nsslapd-accesslog-logrotationtimeunit (Access Log Rotation
Time Unit)
This attribute sets the units for the nsslapd-accesslog-logrotationtime attribute.
Parameter
Entry DN
Valid Values
Default Value
Syntax
Example
2.3.1.15. nsslapd-accesslog-maxlogsize (Access Log Maximum Log Size)
This attribute sets the maximum access log size in megabytes. When this value is reached, the access
log is rotated. That means the server starts writing log information to a new log file. If the nsslapd-
accesslog-maxlogsperdir attribute is set to 1, the server ignores this attribute.
Description
0
Integer
nsslapd-accesslog-logrotationsyncmin: 30
Section 2.3.1.16, "nsslapd-accesslog-maxlogsperdir (Access Log
for more information.
Description
cn=config
-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.
1
Integer
nsslapd-accesslog-logrotationtime: 100
Description
cn=config
month | week | day | hour | minute
day
DirectoryString
nsslapd-accesslog-logrotationtimeunit: week
cn=config
17

Advertisement

Table of Contents
loading

Table of Contents