Multiple-suffix fail msg should be logged at ERR/ANY, not ARGS.

This commit is contained in:
Howard Chu 2003-03-04 21:17:31 +00:00
parent 4a658ee581
commit a0b1fb1f9c

View File

@ -160,10 +160,10 @@ bdb_db_open( BackendDB *be )
#ifndef BDB_MULTIPLE_SUFFIXES
if ( be->be_suffix[1].bv_val ) {
#ifdef NEW_LOGGING
LDAP_LOG( BACK_BDB, ARGS,
LDAP_LOG( BACK_BDB, ERR,
"bdb_db_open: only one suffix allowed\n", 0, 0, 0 );
#else
Debug( LDAP_DEBUG_ARGS,
Debug( LDAP_DEBUG_ANY,
"bdb_db_open: only one suffix allowed\n", 0, 0, 0 );
#endif
return -1;