summaryrefslogtreecommitdiff
path: root/csharp/src
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2017-05-26 09:51:07 +0200
committerBenoit Foucher <benoit@zeroc.com>2017-05-26 09:51:07 +0200
commitb981629221873b82021738b3960ea21c7928b3a2 (patch)
treeb3d081184b9eadfff2fd67f7f80dd3303fbd93db /csharp/src
parentFix (ICE-7921) - Bogus debugger settings with Nuget packages (diff)
downloadice-b981629221873b82021738b3960ea21c7928b3a2.tar.bz2
ice-b981629221873b82021738b3960ea21c7928b3a2.tar.xz
ice-b981629221873b82021738b3960ea21c7928b3a2.zip
Fixed ICE-7922 - Review retry/network tracing
Diffstat (limited to 'csharp/src')
-rw-r--r--csharp/src/Ice/ConnectionFactory.cs8
-rw-r--r--csharp/src/Ice/Reference.cs2
2 files changed, 5 insertions, 5 deletions
diff --git a/csharp/src/Ice/ConnectionFactory.cs b/csharp/src/Ice/ConnectionFactory.cs
index 308be80e6c0..c34794e99b3 100644
--- a/csharp/src/Ice/ConnectionFactory.cs
+++ b/csharp/src/Ice/ConnectionFactory.cs
@@ -687,7 +687,7 @@ namespace IceInternal
private void handleConnectionException(Ice.LocalException ex, bool hasMore)
{
TraceLevels traceLevels = _instance.traceLevels();
- if(traceLevels.retry >= 2)
+ if(traceLevels.network >= 2)
{
StringBuilder s = new StringBuilder();
s.Append("connection to endpoint failed");
@@ -707,7 +707,7 @@ namespace IceInternal
}
}
s.Append(ex);
- _instance.initializationData().logger.trace(traceLevels.retryCat, s.ToString());
+ _instance.initializationData().logger.trace(traceLevels.networkCat, s.ToString());
}
}
@@ -767,7 +767,7 @@ namespace IceInternal
internal void handleException(Ice.LocalException ex, bool hasMore)
{
TraceLevels traceLevels = _instance.traceLevels();
- if(traceLevels.retry >= 2)
+ if(traceLevels.network >= 2)
{
StringBuilder s = new StringBuilder();
s.Append("couldn't resolve endpoint host");
@@ -787,7 +787,7 @@ namespace IceInternal
}
}
s.Append(ex);
- _instance.initializationData().logger.trace(traceLevels.retryCat, s.ToString());
+ _instance.initializationData().logger.trace(traceLevels.networkCat, s.ToString());
}
}
diff --git a/csharp/src/Ice/Reference.cs b/csharp/src/Ice/Reference.cs
index a27d37b2958..09628f4b120 100644
--- a/csharp/src/Ice/Reference.cs
+++ b/csharp/src/Ice/Reference.cs
@@ -1334,7 +1334,7 @@ namespace IceInternal
if(traceLevels.retry >= 2)
{
String s = "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;
_ir.getInstance().initializationData().logger.trace(traceLevels.retryCat, s);
}
_ir.getConnectionNoRouterInfo(_cb); // Retry.