[
https://issues.apache.org/jira/browse/HTTPCLIENT-2246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17632339#comment-17632339
]
Oleg Kalnichevski commented on HTTPCLIENT-2246:
-----------------------------------------------
[~WestFarmer] Should not this feature be implemented in Nexus and not in a
general purpose HTTP library?
Oleg
> 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
> Priority: Minor
>
> 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]