Functions For Logging - Netscape DIRECTORY SERVER 6.02 - PLUG-IN Manual

Table of Contents

Advertisement

Syntax
#include "slapi-plugin.h"
void slapi_ldap_unbind( LDAP *ld );
Parameters
This function takes the following parameters:
ld
Description
This function unbinds from another LDAP server. Call this function if you
initialized the LDAP session with the
the
ldap_unbind()
Directory SDK.)

Functions for Logging

This section contains reference information on logging routines.
Table 14-17 Logging Routines
Function
slapi_log_error()
slapi_is_loglevel_set()
slapi_log_error()
Writes a message to the error log for the Directory Server. (By default, the error log
file is
Syntax
#include "slapi-plugin.h"
int slapi_log_error( int severity, char *subsystem,
char *fmt, ... );
Connection handle, which is a pointer to an LDAP structure containing
information about the connection to the LDAP server.
or
ldap_unbind_s()
Description
Writes a message to the error log for the Directory Server.
Checks if loglevel is selected as a log level.
<server_root>/slapd-<instance_id>/logs/errors
slapi_ldap_init()
functions provided with the Netscape
Chapter 14
Functions for Logging
function. (Do not call
.)
Function Reference
329

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents