]> git.sur5r.net Git - openldap/commitdiff
log slapi config read failure (partial fulfilment of ITS#3098)
authorPierangelo Masarati <ando@openldap.org>
Sat, 24 Apr 2004 11:43:52 +0000 (11:43 +0000)
committerPierangelo Masarati <ando@openldap.org>
Sat, 24 Apr 2004 11:43:52 +0000 (11:43 +0000)
servers/slapd/config.c

index c8921e207880fd20b55ed50a5dd7ca9cf335bc5a..b2e147ade8548c2c67a91f0f3744e3ba8b086006 100644 (file)
@@ -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++;