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

Table of Contents

Advertisement

Functions for Logging

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 15-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, ... );
372
Netscape Directory Server Plug-In Programmer's Guide • August 2002
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
function. (Do not call
.)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.1

Table of Contents