HP-UX Directory Server 8.1 plug-in reference

Table Of Contents
Written to the error log if the Log Level setting "Log communications with
shell back ends" is selected.
SLAPI_LOG_SHELL
Written to the error log if the Log Level setting "Log entry parsing" is selected.
SLAPI_LOG_PARSE
Written to the error log if the Log Level setting "Housekeeping" is selected.
SLAPI_LOG_HOUSE
Written to the error log if the Log Level setting "Replication" is selected.
SLAPI_LOG_REPL
Written to the error log if the Log Level setting "Entry cache" is selected.
SLAPI_LOG_CACHE
Written to the error log if the Log Level setting "Plug-ins" is selected. This
severity level is typically used to identify messages from server plug-ins.
SLAPI_LOG_PLUGIN
Returns This function returns one of the following values:
0 If successful.
-1 If an unknown severity level is specified.
30.2 slapi_is_loglevel_set()
Checks if loglevel is selected as a log level.
Description To specify the level of logging used by the Directory Server, the administrator can
use the Server Console or set the nsslapd-errorlog-level attribute. For more information,
see HP-UX Directory Server configuration, command, and file reference.
Syntax
#include "slapi-plugin.h"
int slapi_is_loglevel_set( const int loglevel );
Parameters This function takes the following parameter:
Log level setting to check.
loglevel
Returns The function returns one of the following values:
0
If loglevel is not selected as log level settings.
1
If loglevel is selected as log level setting.
254 Functions for logging