WestFarmer created HTTPCLIENT-2246:
--------------------------------------

             Summary: Better logging implementation
                 Key: HTTPCLIENT-2246
                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-2246
             Project: HttpComponents HttpClient
          Issue Type: Improvement
          Components: HttpClient (classic)
            Reporter: WestFarmer


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:

{code:java}
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
{code}




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to