Nsslapd-Accesslog-Maxlogsize (Access Log Maximum Log Size); Nsslapd-Accesslog-Maxlogsperdir (Access Log Maximum Number Of Log Files) - Netscape DIRECTORY SERVER 6.0 Configuration Manual

Configuration, command, and file reference
Hide thumbs Also See for NETSCAPE DIRECTORY SERVER 6.0:
Table of Contents

Advertisement

Core Server Configuration Attributes Reference

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 is, the server starts writing log information to a new
log file. If you set
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 3 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.
Entry DN
Valid Range
Default Value
Syntax
Example
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 on 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, as 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
rotation is specified. If the
value of -1 then there is no log rotation. See "nsslapd-accesslog-logrotationtime
(Access Log Rotation Time)" on page 39 for more information.
Entry DN
Valid Range
Default Value
40
Netscape Directory Server Configuration, Command, and File Reference • December 2001
nsslapd-accesslog-maxlogsperdir
cn=config
-1 | 1 to the maximum 32 bit integer value (2147483647) where a value of
-1 means the log file is unlimited in size.
100
Integer
nsslapd-accesslog-maxlogsize: 100
nsslapd-accesslog-logrotationtime
cn=config
1 to the maximum 32 bit integer value (2147483647)
10
attribute to 1, the server
attribute to establish whether or not log
attribute has a

Advertisement

Table of Contents
loading

Table of Contents