0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-30 00:56:44 +01:00

quieter on test run

This commit is contained in:
Dwight Merriman 2010-05-23 15:07:32 -04:00
parent 27f5790d11
commit 608ef69bc4
5 changed files with 9 additions and 9 deletions

View File

@ -739,7 +739,7 @@ namespace mongo {
BSONElement e = jsobj.firstElement();
string toDeleteNs = dbname + '.' + e.valuestr();
NamespaceDetails *d = nsdetails(toDeleteNs.c_str());
log() << "CMD: reIndex " << toDeleteNs << endl;
tlog() << "CMD: reIndex " << toDeleteNs << endl;
BackgroundOperation::assertNoBgOpInProgForNs(toDeleteNs.c_str());
if ( ! d ){

View File

@ -48,7 +48,7 @@ namespace mongo {
string dropns = dbname + "." + cmdObj.firstElement().valuestrsafe();
if ( !cmdLine.quiet )
log() << "CMD: clean " << dropns << endl;
tlog() << "CMD: clean " << dropns << endl;
NamespaceDetails *d = nsdetails(dropns.c_str());
@ -83,7 +83,7 @@ namespace mongo {
string ns = dbname + "." + cmdObj.firstElement().valuestrsafe();
NamespaceDetails * d = nsdetails( ns.c_str() );
if ( !cmdLine.quiet )
log() << "CMD: validate " << ns << endl;
tlog() << "CMD: validate " << ns << endl;
if ( ! d ){
errmsg = "ns not found";

View File

@ -330,13 +330,13 @@ namespace mongo {
receivedKillCursors(m);
}
else {
out() << " operation isn't supported: " << op << endl;
mongo::log() << " operation isn't supported: " << op << endl;
currentOp.done();
log = true;
}
}
catch ( AssertionException& e ) {
problem() << " Caught Assertion in " << opToString(op) << " , continuing" << endl;
tlog() << " Caught Assertion in " << opToString(op) << " , continuing" << endl;
ss << " exception " + e.toString();
log = true;
}

View File

@ -395,8 +395,8 @@ namespace mongo {
addNewExtentToNamespace(ns, e, loc, emptyLoc, newCapped);
DEV log() << "new extent " << ns << " size: 0x" << hex << ExtentSize << " loc: 0x" << hex << offset
<< " emptyLoc:" << hex << emptyLoc.getOfs() << dec << endl;
DEV tlog() << "new extent " << ns << " size: 0x" << hex << ExtentSize << " loc: 0x" << hex << offset
<< " emptyLoc:" << hex << emptyLoc.getOfs() << dec << endl;
return e;
}

View File

@ -371,7 +371,7 @@ namespace mongo {
conn.done();
}
log() << "CMD: shardcollection: " << cmdObj << endl;
tlog() << "CMD: shardcollection: " << cmdObj << endl;
config->shardCollection( ns , key , cmdObj["unique"].trueValue() );
config->save( true );
@ -535,7 +535,7 @@ namespace mongo {
Shard to = Shard::make( toString );
log() << "CMD: movechunk: " << cmdObj << endl;
tlog() << "CMD: movechunk: " << cmdObj << endl;
ChunkManager * info = config->getChunkManager( ns );
Chunk& c = info->findChunk( find );