Core Server Configuration Attributes Reference
44 Red Hat Directory Server Configuration, Command, and File Reference • May 2005
nsslapd-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 a
new log file. If you set
nsslapd-accesslog-maxlogsperdir
attribute to
1
, the
server ignores this attribute.
When setting 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 the 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 access log.
nsslapd-accesslog-maxlogsperdir (Access Log Maximum Number of Log
Files)
Specifies the total number of access logs that can be contained in the directory
where the access log is stored. If you are using log file rotation, then each time the
access log is rotated, a new log file is created. When the number of files contained
in the access log directory exceeds the value stored in this attribute, then the
oldest version of the log file is deleted. For performance reasons, it is not
recommended that you set this value to
1
because the server will not rotate the
log, and it will grow indefinitely.
If the value for this attribute is higher than
1
, then you need to check the
nsslapd-accesslog-logrotationtime
attribute to establish whether log
rotation is specified. If the
nsslapd-accesslog-logrotationtime
attribute has a
value 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: week
Entry DN: cn=config
Valid Range: -1 | 1 to the maximum 32 bit integer value (2147483647), where a
value of -1 means the log file is unlimited in size.
Default Value: 100
Syntax: Integer
Example: nsslapd-accesslog-maxlogsize: 100