Description

-1 | 1 to the maximum 32–bit integer value (2147483647). A value of -1 means the log file is unlimited in size.

Default Value

100

Syntax

Integer

This attribute specifies the maximum size of the access, audit, or error log in megabytes. When this value is reached, the log is rotated.

If the nsslapd-accesslog-maxlogsperdir, nsslapd-auditlog-maxlogsperdir, or nsslapd-errorlog-maxlogsperdir attribute is set to 1, the server ignores the respective nsslapd-accesslog-maxlogsize, nsslapd-auditlog-maxlogsize, or nsslapd-errorlog-maxlogsize attribute.

When you set 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 three different log files (access log, audit log, and error log) maintained by 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 log.