Warning messages in logs caused by sub-optimal use of commons httpclient

XMLWordPrintable

      Catalina.out shows the following type of messages:

      "com.atlassian.mywork.client.reliability.DefaultUnreliableWorker:thread-1 WARN <username> 941x62x1 16zb5b2 <workstation ip address> /rest/api/2/issue/<issue key>/comment [apache.commons.httpclient.HttpMethodBase] Going to buffer response body of large or unknown size.  Using getResponseBodyAsStream instead is recommended."
      

      As a workaround solution, you can add these two lines at the end of the file log4j.properties:

      log4j.logger.org.apache.commons.httpclient = ERROR, console, filelog
      log4j.additivity.org.apache.commons.httpclient = false
      

      To disable this warning message.

      More background at JRA-31786

            Assignee:
            Hoang Nguyen (Inactive)
            Reporter:
            Oswaldo Hernandez (Inactive)
            Votes:
            16 Vote for this issue
            Watchers:
            26 Start watching this issue

              Created:
              Updated:
              Resolved: