Nsslapd-Auditlog-Maxlogsize (Audit Log Maximum Log Size); Nsslapd-Auditlog-Maxlogsperdir (Audit Log Maximum Number Of Log Files) - Netscape DIRECTORY SERVER 6.2 Configuration Manual

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

Advertisement

Example:
nsslapd-auditlog-logrotationtimeunit: day

nsslapd-auditlog-maxlogsize (Audit Log Maximum Log Size)

Specifies the maximum audit log size in megabytes. When this value is reached, the
audit log is rotated. That is, the server starts writing log information to a new log
file. If you set
nsslapd-auditlog-maxlogsperdir
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 audit log.
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-auditlog-maxlogsize: 50
nsslapd-auditlog-maxlogsperdir (Audit Log Maximum Number of Log
Files)
Specifies the total number of audit logs that can be contained in the directory
where the audit log is stored. If you are using log file rotation, then each time the
audit log is rotated, a new log file is created. When the number of files contained in
the audit log directory exceeds the value stored on this attribute, then the oldest
version of the log file is deleted. The default is 1 log. If you accept this default, 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-auditlog-logrotationtime
rotation is specified. If the
value of -1 then there is no log rotation. See "nsslapd-auditlog-logrotationtime
(Audit Log Rotation Time)" on page 52 for more information.
Entry DN:
cn=config
attribute to establish whether or not log
nsslapd-auditlog-logrotationtime
Chapter 2
Core Server Configuration Attributes Reference
to 1, the server ignores this
attribute has a
Core Server Configuration Reference
53

Advertisement

Table of Contents
loading

Table of Contents