Netscape DIRECTORY SERVER 6.1 - PLUG-IN Manual page 373

Table of Contents

Advertisement

Parameters
This function takes the following parameters:
severity
subsystem
fmt, ...
The
argument corresponds to the Log Level setting selected by in 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
argument can have one of the following values:
severity
SLAPI_LOG_FATAL
SLAPI_LOG_TRACE
SLAPI_LOG_PACKETS
SLAPI_LOG_ARGS
SLAPI_LOG_CONNS
SLAPI_LOG_BER
SLAPI_LOG_FILTER
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);
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.
Functions for Logging
Chapter 15
Function Reference
373

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.1

Table of Contents