Uploaded image for project: 'HttpComponents HttpClient'
  1. HttpComponents HttpClient
  2. HTTPCLIENT-2246

Better logging implementation

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • None
    • None
    • HttpClient (classic)
    • None

    Description

      Hi, I am using nexus repository from SonaType, which use apache-httpclient.
      We have set up many repositories, as the administrator, always need to keep all those repositories works. I need to inspect logs to find problems, I am wondering can we log summary information only for each request. like this:

      a config specify which response codes considered as successful, then log only unsuccessful requests:

      GET http://somedomain/xxx/xxx 401
      GET http://somedomain/aaa/bbb 400
      GET http://otherdomain/aaa/ccc TIMEOUT
      GET http://otherdomain/aaa/ccc UNABLE_TO_CONNECT
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            WestFarmer WestFarmer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: