You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Oleg Kalnichevski (Jira)" <ji...@apache.org> on 2023/05/07 13:25:00 UTC

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

     [ https://issues.apache.org/jira/browse/HTTPCLIENT-2246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oleg Kalnichevski resolved HTTPCLIENT-2246.
-------------------------------------------
    Resolution: Won't Fix

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