Core Server Configuration Attributes Reference
62 Red Hat Directory Server Configuration, Command, and File Reference • May 2005
nsslapd-errorlog-logrotationsyncmin (Error Log Rotation Sync Minute)
Specifies the minute of the day for rotating error logs. This attribute must be used
in conjunction with
nsslapd-errorlog-logrotationsync-enabled
and
nsslapd-errorlog-logrotationsynchour
attributes.
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
nsslapd-errorlog-logrotationtimeunit
(Error Log
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-maxlogsperdir
attribute value to
1
or the
nsslapd-errorlog-logrotationtime
attribute to
-1
. The server checks the
nsslapd-errorlog-maxlogsperdir
attribute first, and, if this attribute value is
larger than
1
, the server then checks the
nsslapd-errorlog-logrotationtime
attribute. See “nsslapd-errorlog-maxlogsperdir (Maximum Number of Error Log
Files),” on page 64, for more information.
Default Value: 0
Syntax: Integer
Example: nsslapd-errorlog-logrotationsynchour: 23
Entry DN: cn=config
Valid Range: 0 through 59
Default Value: 0
Syntax: Integer
Example: nsslapd-errorlog-logrotationsyncmin: 30
Entry DN: cn=config
Valid Range: -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).