You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "David Mollitor (Jira)" <ji...@apache.org> on 2020/10/02 15:44:01 UTC

[jira] [Created] (THRIFT-5287) Log When Client Connections are Dropped

David Mollitor created THRIFT-5287:
--------------------------------------

             Summary: Log When Client Connections are Dropped
                 Key: THRIFT-5287
                 URL: https://issues.apache.org/jira/browse/THRIFT-5287
             Project: Thrift
          Issue Type: Improvement
          Components: Java - Library
            Reporter: David Mollitor
            Assignee: David Mollitor


Provide a mechanism for logging all exceptions generated by client communication.  Right now, there is some logic to determine which kinds of Exceptions are logged and which are not.  This is a bit confusing because I see situations where the inheriting projects are closing contexts (via `deleteContext()`) but there is no logging from the server to indicate *why* the context should be deleted.

For example:
https://github.com/apache/thrift/blob/master/lib/java/src/org/apache/thrift/server/TThreadPoolServer.java#L321-L328



--
This message was sent by Atlassian Jira
(v8.3.4#803005)