right away instead of having to wait for the log entries to be flushed to the file. Disabling log buffering can
severely impact performance in heavily loaded servers.
Parameter Descript ion
Entry DN cn=config
Valid Values on | off
Default Value on
Syntax DirectoryString
Example nsslapd-accesslog-logbuffering: off
2.3.1.5. nsslapd- accesslog-logexpirat iontime (Access Log Expiration Time)
This attribute specifies the maximum age that a log file is allowed to reach before it is deleted. This
attribute supplies only the number of units. T he units are provided by the nsslapd-accesslog-
logexpirationtimeunit attribute.
Parameter Descript ion
Entry DN cn=config
Valid Range -1 to the maximum 32 bit integer value
(2147483647)
A value of -1 or 0 means that the log never
expires.
Default Value -1
Syntax Integer
Example nsslapd-accesslog-logexpirationtime: 2
2.3.1.6. nsslapd- accesslog-logexpirat iontimeunit (Access Log Expirat ion Time Unit)
This attribute specifies the units for nsslapd-accesslog-logexpirationtime attribute. If the unit is
unknown by the server, then the log never expires.
Parameter Descript ion
Entry DN cn=config
Valid Values month | week | day
Default Value month
Syntax DirectoryString
Example nsslapd-accesslog-logexpirationtimeunit: week
2.3.1.7. nsslapd- accesslog-logging- enabled (Access Log Enable Logging)
Disables and enables accesslog logging but only in conjunction with the nsslapd-accesslog attribute
that specifies the path and parameter of the log used to record each database access.
For access logging to be enabled, this attribute must be switched to on, and the nsslapd-accesslog
configuration attribute must have a valid path and parameter. The table lists the four possible
combinations of values for these two configuration attributes and their outcome in terms of disabling or
enabling of access logging.
Table 2.3. dse.ldif Attribut es
Attribute Value Logging Enabled or Disabled
nsslapd-accesslog-logging-
enabled
nsslapd-accesslog
on
empty string
Disabled
nsslapd-accesslog-logging-
enabled
nsslapd-accesslog
on
filename
Enabled
nsslapd-accesslog-logging-
enabled
nsslapd-accesslog
off
empty string
Disabled
nsslapd-accesslog-logging-
enabled
nsslapd-accesslog
off
filename
Disabled
Komentarze do niniejszej Instrukcji