diff options
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/Ice/ConnectionFactory.cpp | 8 | ||||
-rw-r--r-- | cpp/src/Ice/Reference.cpp | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/cpp/src/Ice/ConnectionFactory.cpp b/cpp/src/Ice/ConnectionFactory.cpp index b8e6b03651b..3e7bb1ea94b 100644 --- a/cpp/src/Ice/ConnectionFactory.cpp +++ b/cpp/src/Ice/ConnectionFactory.cpp @@ -809,9 +809,9 @@ void IceInternal::OutgoingConnectionFactory::handleException(const LocalException& ex, bool hasMore) { TraceLevelsPtr traceLevels = _instance->traceLevels(); - if(traceLevels->retry >= 2) + if(traceLevels->network >= 2) { - Trace out(_instance->initializationData().logger, traceLevels->retryCat); + Trace out(_instance->initializationData().logger, traceLevels->networkCat); out << "couldn't resolve endpoint host"; if(dynamic_cast<const CommunicatorDestroyedException*>(&ex)) @@ -837,9 +837,9 @@ void IceInternal::OutgoingConnectionFactory::handleConnectionException(const LocalException& ex, bool hasMore) { TraceLevelsPtr traceLevels = _instance->traceLevels(); - if(traceLevels->retry >= 2) + if(traceLevels->network >= 2) { - Trace out(_instance->initializationData().logger, traceLevels->retryCat); + Trace out(_instance->initializationData().logger, traceLevels->networkCat); out << "connection to endpoint failed"; if(dynamic_cast<const CommunicatorDestroyedException*>(&ex)) diff --git a/cpp/src/Ice/Reference.cpp b/cpp/src/Ice/Reference.cpp index a14df7e35cc..f2fe254204a 100644 --- a/cpp/src/Ice/Reference.cpp +++ b/cpp/src/Ice/Reference.cpp @@ -1611,10 +1611,10 @@ IceInternal::RoutableReference::getConnectionNoRouterInfo(const GetConnectionCal { TraceLevelsPtr traceLvls = _reference->getInstance()->traceLevels(); if(traceLvls->retry >= 2) - { + { Trace out(_reference->getInstance()->initializationData().logger, traceLvls->retryCat); out << "connection to cached endpoints failed\n" - << "removing endpoints from cache and trying one more time\n" << ex; + << "removing endpoints from cache and trying again\n" << ex; } _reference->getConnectionNoRouterInfo(_callback); // Retry. return; |