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:
parent
27f5790d11
commit
608ef69bc4
@ -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 ){
|
||||
|
@ -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";
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user