0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00

debuggability

This commit is contained in:
Eliot Horowitz 2010-07-01 17:10:55 -04:00
parent 5f97419777
commit 30d3a841f2
2 changed files with 2 additions and 1 deletions

View File

@ -174,7 +174,7 @@ namespace mongo {
#endif
if ( ! threadName.empty() ){
cout << threadName << " ";
cout << "[" << threadName << "] ";
}
cout << type << ( type[0] ? ": " : "" );
cout << s;

View File

@ -32,6 +32,7 @@ namespace mongo {
MessageHandler * handler;
void threadRun(){
setThreadName( "conn" );
TicketHolderReleaser connTicketReleaser( &connTicketHolder );
assert( grab );