On Thu, 2023-06-22 at 22:46 +0530, sreenivas somavarapu wrote:
> Hi Oleg,
> 
> PFA httpclient logs attached. I have provided 4 instances of errors
> along
> with a time stamp (due to file sizes attached to respective log files
> in zip file) which are below during our load test. Please let me know
> if
> any other logging is required.
> 
> My environment consists of (All Windows 2019 and plain HTTP
> transactions
> for testing purpose)
> - Jemeter (Which generates load)
> - Apache HTTPD (Received the requests and forwards it to Tomcat via
> mod_jk)
> - Apache Tomcat (Process the request received and generates a request
> using
> Apache HTTPClient to get resources required from IIS server)
> - IIS (Receives request from Apache HTTPClient. Process the requests
> and
> generates response)
> 
> My logging configuration is as below which uses log4j2 as logger
> implementation
> *logger.httpClient.name <http://logger.httpclient.name/> =
> org.apache.hc.client5.http*
> *logger.httpClient.level = DEBUG*
> *logger.httpClient.additivity = false*
> *logger.httpClient.appenderRef.rolling.ref = httpclientRolling*
> 
> 
> [22/Jun/2023:16:06:06-844] [ERROR] - Deadline:
> +292278994-08-17T07:12:55.807+0000, 9223370349404808963 MILLISECONDS
> overdue
> [22/Jun/2023:16:06:08-260] [ERROR] - Deadline:
> +292278994-08-17T07:12:55.807+0000, 9223370349404807547 MILLISECONDS
> overdue
> 
> [22/Jun/2023:16:11:02-934] [ERROR] - Deadline:
> +292278994-08-17T07:12:55.807+0000, 9223370349404513532 MILLISECONDS
> overdue
> [22/Jun/2023:16:13:18-875] [ERROR] - Deadline:
> +292278994-08-17T07:12:55.807+0000, 9223370349404390160 MILLISECONDS
> overdue
> 

I image just connection management logs could have sufficed, as
described here:

https://hc.apache.org/httpcomponents-client-5.2.x/logging.html

This would radically reduce the size of log files.

Oleg


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org
For additional commands, e-mail: httpclient-users-h...@hc.apache.org

Reply via email to