HP-UX Directory Server 8.1 configuration, command, and file reference
2.3.1.45 nsslapd-errorlog-logexpirationtime (Error log expiration time)
This attribute sets the maximum age that a log file is allowed to reach before it is deleted. This
attribute supplies only the number of units. The units (day, week, month, and so forth) are given
by the nsslapd-errorlog-logexpirationtimeunit attribute.
DescriptionParameter
cn=configEntry DN
-1 to the maximum 32-bit integer value (2147483647)
A value of -1 or 0 means that the log never expires.
Valid Range
-1Default Value
IntegerSyntax
nsslapd-errorlog-logexpirationtime: 1Example
2.3.1.46 nsslapd-errorlog-logexpirationtimeunit (Error log expiration time unit)
This attribute sets the units for the nsslapd-errorlog-logexpirationtime attribute. If
the unit is unknown by the server, then the log never expires.
DescriptionParameter
cn=configEntry DN
month | week | dayValid Values
monthDefault Value
DirectoryStringSyntax
nsslapd-errorlog-logexpirationtimeunit: weekExample
2.3.1.47 nsslapd-errorlog-logging-enabled (Enable error logging)
Turns error logging on and off.
DescriptionParameter
cn=configEntry DN
on or off
Valid Values
onDefault Value
DirectoryStringSyntax
nsslapd-errorlog-logging-enabled: onExample
2.3.1.48 nsslapd-errorlog-logmaxdiskspace (Error log maximum disk space)
This attribute sets the maximum amount of disk space in megabytes that the error logs are allowed
to consume. If this value is exceeded, the oldest error log is deleted.
When setting a maximum disk space, 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
2.3 Core server configuration attributes reference 41