Skip to content

Commit 5e4b69b

Browse files
committed
more logging for dropDatabase
1 parent 62cb06b commit 5e4b69b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/mongo/db/dbcommands.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,13 +389,14 @@ namespace mongo {
389389
return false;
390390
}
391391
BSONElement e = cmdObj.firstElement();
392-
log() << "dropDatabase " << dbname << endl;
392+
log() << "dropDatabase " << dbname << " starting" << endl;
393393
int p = (int) e.number();
394394
if ( p != 1 )
395395
return false;
396396
stopIndexBuilds(dbname, cmdObj);
397397
dropDatabase(dbname);
398398
result.append( "dropped" , dbname );
399+
log() << "dropDatabase " << dbname << " finished" << endl;
399400
return true;
400401
}
401402
} cmdDropDatabase;

0 commit comments

Comments
 (0)