Core Server Configuration Attributes Reference
nsslapd-errorlog-logrotationtime (Error Log Rotation Time)
Specifies the time between error log file rotations. The error log will be rotated
when this time interval is up, regardless of the current size of the error log. This
attribute supplies only the number of units. The units (day, week, month, and so
forth) are given by the
Rotation Time Unit) attribute.
Although it is not recommended for performance reasons to specify no log rotation
as the log will grow indefinitely, you have two ways of specifying this. Either you
set the
nsslapd-errorlog-logrotationtime
nsslapd-errorlog-maxlogsperdir
larger than 1, the server then checks the
attribute. See "nsslapd-errorlog-maxlogsperdir (Maximum Number of Error Log
Files)," on page 63 for more information.
Entry DN:
Valid Range:
Default Value:
Syntax:
Example:
nsslapd-errorlog-logrotationtimeunit (Error Log Rotation Time Unit)
Specifies the units for
Time). If the unit is unknown by the server, then the log will never expire.
Entry DN:
Valid Values:
Default Value:
Syntax:
Example:
62
Netscape Directory Server Configuration, Command, and File Reference • August 2002
nsslapd-errorlog-logrotationtimeunit
nsslapd-errorlog-maxlogsperdir
cn=config
-1 | 1 to the maximum 32 bit integer value (2147483647) where a value
of -1 means that the time between error log file rotation is unlimited).
1
Integer
nsslapd-errorlog-logrotationtime: 100
nsslapd-errorlog-logrotationtime
cn=config
month | week | day | hour | minute
week
DirectoryString
nsslapd-errorlog-logrotationtimeunit: day
attribute value to 1 or the
attribute to -1. The server checks the
attribute first and if this attribute value is
nsslapd-errorlog-logrotationtime
(Error Log
(Error Log Rotation
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 6.1 and is the answer not in the manual?