Core Server Configuration Attributes Reference
54
Netscape Directory Server Configuration, Command, and File Reference • December 2001
nsslapd-errorlog-logrotationtimeunit (Error Log Rotation Time Unit)
Specifies the units for
nsslapd-errorlog-logrotationtime
(Error Log Rotation
Time). If the unit is unknown by the server, then the log will never expire.
nsslapd-errorlog-maxlogsize (Maximum Error Log Size)
Specifies the maximum error log size in megabytes. When this value is reached, the
error log is rotated. That is, the server starts writing log information to a new log
file. If you set
nsslapd-errorlog-maxlogsperdir
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 3 different log files
(access log, audit log, and error log) maintained by the Directory Server, each of
which will consume disk space. Compare these considerations to the total amount
of disk space that you want to be used by the error log.
Entry DN
cn=config
Valid Range
month | week | day | hour | minute
Default Value
week
Syntax
DirectoryString
Example
nsslapd-errorlog-logrotationtimeunit: day
Entry DN
cn=config
Valid Range
-1 | 1 to the maximum 32 bit integer value (2147483647) where a value of
-1 means the log file is unlimited in size.
Default Value
100
Syntax
Integer
Example
nsslapd-errorlog-maxlogsize: 100