[
https://issues.apache.org/jira/browse/THRIFT-4945?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Duru Can Celasun resolved THRIFT-4945.
--------------------------------------
Fix Version/s: 0.13.0
Resolution: Fixed
> 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.10.0, 0.11.0, 0.12.0
> Reporter: pengzhouhu
> Priority: Minor
> Fix For: 0.13.0
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> 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.4#803005)