Netscape DIRECTORY SERVER 6.02 - PLUG-IN Manual page 330

Table of Contents

Advertisement

Functions for Logging
Parameters
This function takes the following parameters:
severity
subsystem
fmt, ...
The
severity
Server Manager under Server Preferences | LDAP. If a Log Level setting is
selected, messages with that severity level are written to the error log. The
severity
SLAPI_LOG_FATAL
SLAPI_LOG_TRACE
SLAPI_LOG_PACKETS
SLAPI_LOG_ARGS
SLAPI_LOG_CONNS
SLAPI_LOG_BER
SLAPI_LOG_FILTER
330
Netscape Directory Server Plug-In Programmer's Guide • May 2002
Level of severity of the message. In combination with the
severity level specified by the administrator, this determines
whether or not the message is written to the log.
Name of the subsystem in which this function is called. The
string that you specify here appears in the error log in the
following format:
<subsystem_name>: <message>
Message that you want written. This message can be in
printf()-style format. For example:
..., "%s\n", myString);
argument corresponds to the Log Level setting selected by in the
argument can have one of the following values:
Always written to the error log.
This severity level indicates that a fatal error has occurred in
the server.
Written to the error log if the Log Level setting "Trace
function calls" is selected.
This severity level is typically used to indicate what function
is being called.
Written to the error log if the Log Level setting "Packet
handling" is selected.
Written to the error log if the Log Level setting "Heavy trace
output" is selected.
Written to the error log if the Log Level setting "Connection
management" is selected.
Written to the error log if the Log Level setting "Packets
sent/received" is selected.
Written to the error log if the Log Level setting "Search filter
processing" is selected.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents