Service manual

Error Logging
Chapter 8 Tuning Logging 143
Refer to the Sun ONE Directory Server Reference Manual for details concerning
individual configuration attributes.
Error Logging
The error log for a Directory Server instance contains detailed error, warning, and
informational messages encountered during normal server operation. The low
default logging level produces relatively little disk activity.
When log level is set higher to generate debugging information, however,
Directory Server may begin writing large numbers of messages to disk. The write
load can resultin a very noticeable overall drop in performance. To avoida drop in
performance, increase log levels progressively, component by component, instead
of activating log levels for all components at once.
The error log does not support log buffering. All messages are flushed to disk
immediately.For large or highvolume deployments, consider allocatinga separate
disk on a separate controller for the error log, used whenever debugging becomes
necessary. Table 8-4 provides further recommendations for specific attributes.
nsslapd-auditlog-logminfreediskspace Specifies minimum freedisk space allowed before old
logs are purged.
When the amount of free disk space falls below the
value specified on this attribute, the oldest audit logs
are deleted until enough disk space is freed to
correspond to the setting for this attribute. If the audit
logs cannot be written because the disk is full, the
server shuts down.
Table 8-3 Tuning Recommendations for AuditLogging (Continued)
Configuration Attribute (on dn: cn=config) Short Description and Tuning Recommendations