Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-4149

System.out pollutes log files

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 0.10.0
    • Fix Version/s: 0.11.0
    • Component/s: Java - Library
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                vladyslav.valt Vladyslav Valt
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 2h
                  2h
                  Remaining:
                  Remaining Estimate - 2h
                  2h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified