You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Carter Kozak (Jira)" <ji...@apache.org> on 2020/07/01 18:03:00 UTC
[jira] [Created] (HTTPCLIENT-2095) Consider replacing concatenation
into slf4j loggers with interpolation
Carter Kozak created HTTPCLIENT-2095:
----------------------------------------
Summary: Consider replacing concatenation into slf4j loggers with interpolation
Key: HTTPCLIENT-2095
URL: https://issues.apache.org/jira/browse/HTTPCLIENT-2095
Project: HttpComponents HttpClient
Issue Type: Bug
Components: HttpCache
Affects Versions: 5.0.1
Reporter: Carter Kozak
In most cases these statements are protected by a conditional to check if the logger is enabled so there shouldn't be a real performance impact, replacing concatenation would result in code aligned with modern logging recommendations, and improve perf in a few cases that aren't guarded (though at a glance I don't see any in hot paths).
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org