Core Server Configuration Attributes Reference44 Red Hat Directory Server Configuration, Command, and File Reference • May 2005nsslapd-accesslog-maxlogsize (Access Log Maximum Log Size)Specifies the maximum access log size in megabytes. When this value is reached,the access log is rotated. That means the server starts writing log information to anew log file. If you set nsslapd-accesslog-maxlogsperdir attribute to 1, theserver ignores this attribute.When setting a maximum log size, consider the total number of log files that canbe created due to log file rotation. Also, remember that there are three differentlog files (access log, audit log, and error log) maintained by the Directory Server,each of which will consume disk space. Compare these considerations to the totalamount of disk space that you want to be used by the access log.nsslapd-accesslog-maxlogsperdir (Access Log Maximum Number of LogFiles)Specifies the total number of access logs that can be contained in the directorywhere the access log is stored. If you are using log file rotation, then each time theaccess log is rotated, a new log file is created. When the number of files containedin the access log directory exceeds the value stored in this attribute, then theoldest version of the log file is deleted. For performance reasons, it is notrecommended that you set this value to 1 because the server will not rotate thelog, and it will grow indefinitely.If the value for this attribute is higher than 1, then you need to check thensslapd-accesslog-logrotationtime attribute to establish whether logrotation is specified. If the nsslapd-accesslog-logrotationtime attribute has avalue of -1, then there is no log rotation. See “nsslapd-accesslog-logrotationtime(Access Log Rotation Time),” on page 43, for more information.Example: nsslapd-accesslog-logrotationtimeunit: weekEntry DN: cn=configValid Range: -1 | 1 to the maximum 32 bit integer value (2147483647), where avalue of -1 means the log file is unlimited in size.Default Value: 100Syntax: IntegerExample: nsslapd-accesslog-maxlogsize: 100