2.3.1.45 nsslapd-errorlog-logexpirationtime (Error log expiration time)

This attribute sets the maximum age that a log file is allowed to reach before it is deleted. This attribute supplies only the number of units. The units (day, week, month, and so forth) are given by the nsslapd-errorlog-logexpirationtimeunit attribute.

Parameter

Description

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-errorlog-logexpirationtime: 1

2.3.1.46 nsslapd-errorlog-logexpirationtimeunit (Error log expiration time unit)

This attribute sets the units for the nsslapd-errorlog-logexpirationtimeattribute. If the unit is unknown by the server, then the log never expires.

Parameter

Description

Entry DN

cn=config

Valid Values

month week day

Default Value

month

Syntax

DirectoryString

Example

nsslapd-errorlog-logexpirationtimeunit: week

2.3.1.47 nsslapd-errorlog-logging-enabled (Enable error logging)

Turns error logging on and off.

Parameter

Description

Entry DN

cn=config

Valid Values

on or off

Default Value

on

Syntax

DirectoryString

Example

nsslapd-errorlog-logging-enabled: on

2.3.1.48 nsslapd-errorlog-logmaxdiskspace (Error log maximum disk space)

This attribute sets the maximum amount of disk space in megabytes that the error logs are allowed to consume. If this value is exceeded, the oldest error log is deleted.

When setting a maximum disk space, 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

2.3 Core server configuration attributes reference

41

Page 41
Image 41
HP UX Identity Security Software Nsslapd-errorlog-logging-enabled Enable error logging, Turns error logging on and off