Nsslapd-Errorlog-Maxlogsperdir (Maximum Number Of Error Log Files); Nsslapd-Errorlog-Mode (Error Log File Permission) - 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

nsslapd-errorlog-maxlogsperdir (Maximum Number of Error Log Files)

Specifies the total number of error logs that can be contained in the directory
where the error log is stored. If you are using log file rotation, then each time the
error log is rotated, a new log file is created. When the number of files contained
in the error log directory exceeds the value stored on this attribute, then the oldest
version of the log file is deleted. The default is
server will not rotate the log, and it will grow indefinitely.
If the value for this attribute is higher than
nsslapd-errorlog-logrotationtime
is specified. If the
, then there is no log rotation. See "nsslapd-errorlog-logrotationtime (Error Log
-1
Rotation Time)," on page 62, for more information.
Entry DN:
Valid Range:
Default Value:
Syntax:
Example:

nsslapd-errorlog-mode (Error Log File Permission)

Specifies the access mode or file permissions with which error log files are to be
created. The valid values are any combination of
numbered or absolute UNIX file permissions. That is, the value must be a
combination of a 3-digit number, the digits varying from 0 through 7:
- None
0
- Execute only
1
- Write only
2
- Write and execute
3
- Read only
4
- Read and execute
5
- Read and write
6
- Read, write, and execute
7
In the 3-digit number, the first digit represents the owner's permissions, the
second digit represents the group's permissions, and the third digit represents
everyone's permissions. When changing the default value, keep in mind that
will not allow access to the logs and that allowing write permissions to everyone
can result in the logs being overwritten or deleted by anyone.
64
Red Hat Directory Server Configuration, Command, and File Reference • May 2005
nsslapd-errorlog-logrotationtime
cn=config
1 to the maximum 32 bit integer value (2147483647)
1
Integer
nsslapd-errorlog-maxlogsperdir: 10
log. If you accept this default, the
1
, then you need to check the
1
attribute to establish whether log rotation
attribute has a value of
to
since they mirror
000
777
000

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?

Subscribe to Our Youtube Channel

Table of Contents