You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by ro...@apache.org on 2015/04/30 16:21:38 UTC

thrift git commit: THRIFT-3119 Java's TThreadedSelectorServer has indistinguishable log messages in run()

Repository: thrift
Updated Branches:
  refs/heads/master 21b685240 -> 542830271


THRIFT-3119 Java's TThreadedSelectorServer has indistinguishable log messages in run()

This closes #470

commit f2898ff23b529a584c104989c320b450248da292
Author: Intropy <jb...@gmail.com>
Date: 2015-04-29T00:25:16Z

Add thread class to the run() failure log message


Project: http://git-wip-us.apache.org/repos/asf/thrift/repo
Commit: http://git-wip-us.apache.org/repos/asf/thrift/commit/54283027
Tree: http://git-wip-us.apache.org/repos/asf/thrift/tree/54283027
Diff: http://git-wip-us.apache.org/repos/asf/thrift/diff/54283027

Branch: refs/heads/master
Commit: 54283027170a85f04f8f15497af3a9b0c6b52fc7
Parents: 21b6852
Author: Roger Meier <ro...@apache.org>
Authored: Thu Apr 30 16:20:39 2015 +0200
Committer: Roger Meier <ro...@apache.org>
Committed: Thu Apr 30 16:20:39 2015 +0200

----------------------------------------------------------------------
 .../src/org/apache/thrift/server/TThreadedSelectorServer.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/thrift/blob/54283027/lib/java/src/org/apache/thrift/server/TThreadedSelectorServer.java
----------------------------------------------------------------------
diff --git a/lib/java/src/org/apache/thrift/server/TThreadedSelectorServer.java b/lib/java/src/org/apache/thrift/server/TThreadedSelectorServer.java
index 8737413..353b8e0 100644
--- a/lib/java/src/org/apache/thrift/server/TThreadedSelectorServer.java
+++ b/lib/java/src/org/apache/thrift/server/TThreadedSelectorServer.java
@@ -375,7 +375,7 @@ public class TThreadedSelectorServer extends AbstractNonblockingServer {
           select();
         }
       } catch (Throwable t) {
-        LOGGER.error("run() exiting due to uncaught error", t);
+        LOGGER.error("run() on AcceptThread exiting due to uncaught error", t);
       } finally {
         try {
           acceptSelector.close();
@@ -546,7 +546,7 @@ public class TThreadedSelectorServer extends AbstractNonblockingServer {
           cleanupSelectionKey(selectionKey);
         }
       } catch (Throwable t) {
-        LOGGER.error("run() exiting due to uncaught error", t);
+        LOGGER.error("run() on SelectorThread exiting due to uncaught error", t);
       } finally {
         try {
           selector.close();