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:09:41 UTC

[jira] [Created] (THRIFT-4149) System.out pollutes log files

Vladyslav Valt created THRIFT-4149:
--------------------------------------

             Summary: 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.10.0


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)