mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-30 09:06:21 +01:00
less extraneous shutdown logging
This commit is contained in:
parent
64fd5585b8
commit
cfb9944f7c
@ -201,10 +201,12 @@ namespace mongo {
|
||||
if ( x == ECONNABORTED || x == EBADF ) {
|
||||
log() << "Listener on port " << _port << " aborted" << endl;
|
||||
return;
|
||||
} if ( x == 0 && inShutdown() ){
|
||||
}
|
||||
if ( x == 0 && inShutdown() ) {
|
||||
return; // socket closed
|
||||
}
|
||||
log() << "Listener: accept() returns " << s << " " << errnoWithDescription(x) << endl;
|
||||
if( !inShutdown() )
|
||||
log() << "Listener: accept() returns " << s << " " << errnoWithDescription(x) << endl;
|
||||
continue;
|
||||
}
|
||||
if (from.getType() != AF_UNIX)
|
||||
|
Loading…
Reference in New Issue
Block a user