HP-UX Directory Server 8.1 configuration, command, and file reference

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 because 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
“nsslapd-accesslog-maxlogsperdir (Access log maximum number of log files)” for more
information.
DescriptionParameter
cn=config
Entry DN
-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.
Valid Range
1Default Value
IntegerSyntax
nsslapd-accesslog-logrotationtime: 100Example
2.3.1.14 nsslapd-accesslog-logrotationtimeunit (Access log rotation time unit)
This attribute sets the units for the nsslapd-accesslog-logrotationtime attribute.
DescriptionParameter
cn=config
Entry DN
month | week | day | hour | minuteValid Values
dayDefault Value
DirectoryStringSyntax
nsslapd-accesslog-logrotationtimeunit: weekExample
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.
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 access log.
DescriptionParameter
cn=configEntry DN
-1 | 1 to the maximum 32-bit integer value (2147483647), where a value of -1 means the log
file is unlimited in size.
Valid Range
100DefaultValue
28 Core server configuration reference