You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Vladyslav Valt (JIRA)" <ji...@apache.org> on 2017/03/29 15:19:41 UTC
[jira] [Closed] (THRIFT-4149) System.out pollutes log files
[ https://issues.apache.org/jira/browse/THRIFT-4149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vladyslav Valt closed THRIFT-4149.
----------------------------------
Resolution: Duplicate
Fix Version/s: (was: 0.10.0)
0.11.0
https://issues.apache.org/jira/browse/THRIFT-4062
> System.out pollutes log files
> ------------------------------
>
> Key: THRIFT-4149
> URL: https://issues.apache.org/jira/browse/THRIFT-4149
> Project: Thrift
> Issue Type: Bug
> Components: Java - Library
> Affects Versions: 0.10.0
> Reporter: Vladyslav Valt
> Fix For: 0.11.0
>
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> In our production environment among useful info, logs contain lots of "Received" strings. It contaminates our log with useless information.
> Received 1
> Received 1
> Received 2
> Received 1
> Received 1
> 2017-03-21 17:15:23,118 INFO
> The reason is the following line in TServiceClient:
> System.out.format("Received %d%n", msg.seqid);
> LOGGER must be used instead.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)