Setting The Log Level Of The Server - Netscape DIRECTORY SERVER 7.0 - PLUG-IN Manual

For plug-in
Table of Contents

Advertisement

Setting the Log Level of the Server

nsslapd-pluginarg0: d:/netscape/servers/slapd-host/config/slapd-collations.conf
nsslapd-pluginId: orderingrule
nsslapd-pluginVersion: 6.0
nsslapd-pluginVendor: Netscape Communications Corporation
nsslapd-pluginDescription: internationalized ordering rule plugin
This method allows for more descriptive configuration, which is easier to
maintain. To find the plug-in entry DN, retrieve
pblock
API functions for entry retrieval and manipulation can be used for configuration
retrieval.
For additional information, check the code samples provided here:
<server_root>/plugins/slapd/slapi/examples
Setting the Log Level of the Server
If your functions call the
error log, you need to make sure that the Directory Server is configured to log
messages with the severity level you've specified. The available severity levels are
fully documented in the Reference section on page 544.
For example, suppose you call this function in your plug-in:
slapi_log_error( SLAPI_LOG_PLUGIN, "searchdn_preop_init",
You need to make sure that the Directory Server is configured to log messages
with the severity level
the log level of
56
Netscape Directory Server Plug-in Programmer's Guide • October 2004
passed to your start function. Once the DN is known, the normal plug-in
slapi_new_condvar()
"Plug-in successfully registered.\n" );
SLAPI_LOG_PLUGIN
.
plugin
SLAPI_TARGET_DN
function to write messages to the
. This corresponded in 4.x releases to
from the

Advertisement

Table of Contents
loading

This manual is also suitable for:

Netscape directory server 7.0

Table of Contents