Nsslapd-Accesslog-Maxlogsize (Access Log Maximum Log Size); Nsslapd-Accesslog-Maxlogsperdir (Access Log Maximum Number Of Log Files) - Red Hat DIRECTORY SERVER 7.1 Configuration

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

Advertisement

Core Server Configuration Attributes Reference
Example:

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
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.
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 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
log, and it will grow indefinitely.
If the value for this attribute is higher than
nsslapd-accesslog-logrotationtime
rotation is specified. If the
value of
(Access Log Rotation Time)," on page 43, for more information.
44
Red Hat Directory Server Configuration, Command, and File Reference • May 2005
nsslapd-accesslog-logrotationtimeunit: week
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
, then there is no log rotation. See "nsslapd-accesslog-logrotationtime
-1
because the server will not rotate the
1
, then you need to check the
1
attribute to establish whether log
attribute to
, the
1
attribute has a

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DIRECTORY SERVER 7.1 and is the answer not in the manual?

Questions and answers

Table of Contents