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)

Reply via email to