2.3.1.50. nsslapd-errorlog-logrotationsynchour (Error Log Rotation Sync
Hour)
This attribute sets the hour of the day for rotating error logs. This attribute must be used in
conjunction with nsslapd-errorlog-logrotationsync-enabled and nsslapd-errorlog-
logrotationsyncmin attributes.
Parameter
Entry DN
Valid Range
Default Value
Syntax
Example
2.3.1.51. nsslapd-errorlog-logrotationsyncmin (Error Log Rotation Sync
Minute)
This attribute sets 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.
Parameter
Entry DN
Valid Range
Default Value
Syntax
Example
2.3.1.52. nsslapd-errorlog-logrotationtime (Error Log Rotation Time)
This attribute sets the time between error log file rotations. The error log is 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
grows indefinitely, there are two ways of specifying this. Either set the nsslapd-errorlog-
maxlogsperdir attribute value to 1 or set 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.
Section 2.3.1.55, "nsslapd-errorlog-maxlogsperdir (Maximum Number of Error Log Files)"
See
more information.
Parameter
Entry DN
Valid Range
Description
cn=config
0 through 23
0
Integer
nsslapd-errorlog-logrotationsynchour: 23
Description
cn=config
0 through 59
0
Integer
nsslapd-errorlog-logrotationsyncmin: 30
Description
cn=config
-1 | 1 to the maximum 32 bit integer value
(2147483647), where a value of -1 means
cn=config
for
33
Need help?
Do you have a question about the DIRECTORY SERVER 8.0 and is the answer not in the manual?
Questions and answers