You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "pengzhouhu (Jira)" <ji...@apache.org> on 2019/08/31 06:55:00 UTC

[jira] [Created] (THRIFT-4945) Log output mode is not standardized

pengzhouhu created THRIFT-4945:
----------------------------------

             Summary: Log output mode is not standardized
                 Key: THRIFT-4945
                 URL: https://issues.apache.org/jira/browse/THRIFT-4945
             Project: Thrift
          Issue Type: Bug
          Components: Java - Library
    Affects Versions: 0.12.0, 0.11.0, 0.10.0
            Reporter: pengzhouhu


TFileTransport prints logs using system.err. 
System.out is the cache stream and system.err non-buffered stream. In other words, the former does not necessarily print the log output immediately, 
and the latter will print immediately. This will make the exception log order not in the specified position, increasing the difficulty of analyzing the abnormal log, and Unable to manage logs
So I did something for the community and changed it to slf4j.log to output the log.
Thanks.
best regards.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)