Red Hat 8.1 User Manual
Page 31
Entry DN
cn=config
Valid Values
Default Value
None
Syntax
DirectoryString
Example
nsslapd-errorlog-list: errorlog2,errorlog3
2.3.1.4 6. 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.
Parameter
Description
Entry DN
cn=config
Valid Range
-1 to the maximum 32 bit integer value
(2147483647)
A value of -1 or 0 means that the log never
expires.
Default Value
-1
Syntax
Integer
Example
nsslapd-errorlog-logexpirationtime: 1
2.3.1.4 7. 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.
Parameter
Description
Entry DN
cn=config
Valid Values
month | week | day
Default Value
month
Syntax
DirectoryString
Example
nsslapd-errorlog-logexpirationtimeunit: week
2.3.1.4 8. nsslapd-errorlog-logging-enabled (Enable Error Logging)
Turns error logging on and off.
Parameter
Description
Entry DN
cn=config
Valid Values
on | off
Default Value
on
Syntax
DirectoryString
Example
nsslapd-errorlog-logging-enabled: on
2.3.1.4 9. 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 log, and error log)
maintained by the Directory Server, each of which consumes disk space. Compare these considerations
to the total amount of disk space for the error log.
Parameter
Description
Entry DN
cn=config
Valid Range
-1 | 1 to the maximum 32 bit integer value
(2147483647), where a value of -1 means that
the disk space allowed to the error log is
unlimited in size.
Default Value
-1
Syntax
Integer
Example
nsslapd-errorlog-logmaxdiskspace: 10000
2.3.1.50. nsslapd-errorlog-logminfreediskspace (Error Log Minimum Free Disk Space)
Red Hat Directory Server 8.1 Configuration and Command Reference
31