we weren't logging every 512th op anymore

This commit is contained in:
Eliot Horowitz
2010-10-28 15:51:14 -04:00
parent 39279bd5a7
commit 92d0ac477d

View File

@@ -69,8 +69,6 @@ namespace mongo {
}
}
int ctr = 0;
KillCurrentOp killCurrentOp;
int lockFile = 0;
@@ -273,7 +271,7 @@ namespace mongo {
ss << opToString( op ) << " ";
int logThreshold = cmdLine.slowMS;
bool log = logLevel >= 1 || ++ctr % 512 == 0;
bool log = logLevel >= 1;
if ( op == dbQuery ) {
if ( handlePossibleShardedMessage( m , &dbresponse ) )