HP-UX Directory Server 8.1 configuration, command, and file reference
2.3.1.54 nsslapd-errorlog-logrotationtimeunit (Error log rotation time unit)
This attribute sets the units for nsslapd-errorlog-logrotationtime (Error Log Rotation
Time). If the unit is unknown by the server, then the log never expires.
DescriptionParameter
cn=configEntry DN
month | week | day | hour | minuteValid Values
weekDefault Value
DirectoryStringSyntax
nsslapd-errorlog-logrotationtimeunit: dayExample
2.3.1.55 nsslapd-errorlog-maxlogsize (Maximum error log size)
This attribute sets the maximum error log size in megabytes. When this value is reached, the
error log is rotated, and the server starts writing log information to a new log file. If
nsslapd-errorlog-maxlogsperdir 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 error 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
100Default Value
IntegerSyntax
nsslapd-errorlog-maxlogsize: 100Example
2.3.1.56 nsslapd-errorlog-maxlogsperdir (Maximum number of error log files)
This attribute sets the total number of error logs that can be contained in the directory where the
error log is stored. Each time the error log is rotated, a new log file is created. When the number
of files contained in the error log directory exceeds the value stored on this attribute, then the
oldest version of the log file is deleted. The default is 1 log. If this default is accepted, the server
does not rotate the log, and it grows indefinitely.
If the value for this attribute is higher than 1, then check the
nsslapd-errorlog-logrotationtime attribute to establish whether log rotation is specified.
If the nsslapd-errorlog-logrotationtime attribute has a value of -1, then there is no log
rotation. See “nsslapd-errorlog-logrotationtime (Error log rotation time)” for more information.
DescriptionParameter
cn=configEntry DN
1 to the maximum 32-bit integer value (2147483647)Valid Range
1Default Value
IntegerSyntax
nsslapd-errorlog-maxlogsperdir: 10Example
44 Core server configuration reference