Permalink
Browse files

SERVER-5069 replace ScopedDBConnection message with something more me…

…aningful
  • Loading branch information...
1 parent 8983591 commit d216bc37c309baa162f3a760ac72f991054703c9 Greg Studer committed with erh Feb 24, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 client/connpool.cpp
  2. +1 −1 s/shardconnection.cpp
View
2 client/connpool.cpp
@@ -405,7 +405,7 @@ namespace mongo {
if ( _conn ) {
if ( ! _conn->isFailed() ) {
/* see done() comments above for why we log this line */
- log() << "~ScopedDbConnection: _conn != null" << endl;
+ log() << "scoped connection to " << _conn->getServerAddress() << " not being returned to the pool" << endl;
}
kill();
}
View
2 s/shardconnection.cpp
@@ -266,7 +266,7 @@ namespace mongo {
if ( _conn ) {
if ( ! _conn->isFailed() ) {
/* see done() comments above for why we log this line */
- log() << "~ScopedDBConnection: _conn != null" << endl;
+ log() << "sharded connection to " << _conn->getServerAddress() << " not being returned to the pool" << endl;
}
kill();
}

0 comments on commit d216bc3

Please sign in to comment.