File tree Expand file tree Collapse file tree 8 files changed +12
-12
lines changed Expand file tree Collapse file tree 8 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ namespace mongo {
6262
6363 bool authenticateInternalUser (DBClientWithCommands* conn){
6464 if (!isInternalAuthSet ()) {
65- log () << " ERROR: No authentication params set for internal user" << endl;
65+ log () << " ERROR: No authentication parameters set for internal user" << endl;
6666 return false ;
6767 }
6868 try {
Original file line number Diff line number Diff line change @@ -778,7 +778,7 @@ namespace mongo {
778778 }
779779 else {
780780 if ( numIndexesTotal () || numSystemIndexesEntries || _entries.size () ) {
781- error () << " about to fassert - "
781+ error () << " About to fassert - "
782782 << " numIndexesTotal(): " << numIndexesTotal ()
783783 << " numSystemIndexesEntries: " << numSystemIndexesEntries
784784 << " _entries.size(): " << _entries.size ()
Original file line number Diff line number Diff line change @@ -190,7 +190,7 @@ namespace mongo {
190190 ++_commonStats.unyields ;
191191 if (NULL != _iter) {
192192 if (!_iter->recoverFromYield ()) {
193- warning () << " collection dropped during yield of collscan or state deleted " ;
193+ warning () << " Collection dropped or state deleted during yield of CollectionScan " ;
194194 _nsDropped = true ;
195195 }
196196 }
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ namespace mongo {
9494 // Start at one key, end at another.
9595 Status status = _indexCursor->seek (_params.bounds .startKey );
9696 if (!status.isOK ()) {
97- warning () << " Seek failed: " << status.toString ();
97+ warning () << " IndexCursor seek failed: " << status.toString ();
9898 _hitEnd = true ;
9999 }
100100 if (!isEOF ()) {
Original file line number Diff line number Diff line change @@ -66,8 +66,8 @@ namespace mongo {
6666 }
6767 checkNS (collNames);
6868 }
69- catch (const DBException&) {
70- warning () << " index rebuilding did not complete" << endl;
69+ catch (const DBException& e ) {
70+ warning () << " Index rebuilding did not complete: " << e. what () << endl;
7171 }
7272 boost::unique_lock<boost::mutex> lk (ReplSet::rss.mtx );
7373 ReplSet::rss.indexRebuildDone = true ;
Original file line number Diff line number Diff line change @@ -649,9 +649,9 @@ namespace mongo {
649649 startupWarningsLog;
650650 }
651651 else if (!params.count (" httpinterface" )) {
652- log () << " ** WARNING --jsonp is specified without --httpinterface," <<
652+ log () << " ** WARNING: --jsonp is specified without --httpinterface," <<
653653 startupWarningsLog;
654- log () << " ** enabling http interface" << startupWarningsLog;
654+ log () << " ** enabling http interface" << startupWarningsLog;
655655 serverGlobalParams.isHttpInterfaceEnabled = true ;
656656 }
657657 serverGlobalParams.jsonp = true ;
Original file line number Diff line number Diff line change @@ -528,8 +528,8 @@ namespace mongo {
528528 const GeoMatchExpression* gme = static_cast <const GeoMatchExpression*>(expr);
529529 // Can only do this for 2dsphere.
530530 if (!mongoutils::str::equals (" 2dsphere" , elt.valuestrsafe ())) {
531- warning () << " Planner error trying to build geo bounds for " << elt. toString ()
532- << " index element. " ;
531+ warning () << " Planner error, trying to build geo bounds for non-2dsphere "
532+ << " index element: " << elt. toString () << endl ;
533533 verify (0 );
534534 }
535535
@@ -538,7 +538,7 @@ namespace mongo {
538538 *tightnessOut = IndexBoundsBuilder::INEXACT_FETCH;
539539 }
540540 else {
541- warning () << " Planner error, trying to build bounds for expr "
541+ warning () << " Planner error, trying to build bounds for expression: "
542542 << expr->toString () << endl;
543543 verify (0 );
544544 }
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ namespace mongo {
107107 << filename << endl;
108108 }
109109 else {
110- log () << " openExisting size " << sz << " less then minimum file size expectation "
110+ log () << " openExisting size " << sz << " less than minimum file size expectation "
111111 << filename << endl;
112112 verify (false );
113113 }
You can’t perform that action at this time.
0 commit comments