From: Pierangelo Masarati Date: Sat, 24 Apr 2004 11:43:52 +0000 (+0000) Subject: log slapi config read failure (partial fulfilment of ITS#3098) X-Git-Tag: OPENDLAP_REL_ENG_2_2_MP~442 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3c1c61c5efb2ba231f97564a8a71cd5b860d96d9;p=openldap log slapi config read failure (partial fulfilment of ITS#3098) --- diff --git a/servers/slapd/config.c b/servers/slapd/config.c index c8921e2078..b2e147ade8 100644 --- a/servers/slapd/config.c +++ b/servers/slapd/config.c @@ -2496,7 +2496,16 @@ read_config( const char *fname, int depth ) #endif /* notdef */ if ( slapi_int_read_config( be, fname, lineno, cargc, cargv ) - != LDAP_SUCCESS ) { + != LDAP_SUCCESS ) + { +#ifdef NEW_LOGGING + LDAP_LOG( CONFIG, INFO, + "%s: line %d: SLAPI config read failed.\n", + fname, lineno, 0 ); +#else + Debug( LDAP_DEBUG_ANY, "%s: line %d: SLAPI " + "config read failed.\n", fname, lineno, 0 ); +#endif return( 1 ); } slapi_plugins_used++;