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

Log output mode is not standardized

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.10.0, 0.11.0, 0.12.0
    • Fix Version/s: 0.13.0
    • Component/s: Java - Library
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              pengzhouhu pengzhouhu

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 40m
                40m

                  Issue deployment