You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "WestFarmer (Jira)" <ji...@apache.org> on 2022/11/11 03:30:00 UTC

[jira] [Created] (HTTPCLIENT-2246) Better logging implementation

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: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org