You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Wei-Chiu Chuang (Jira)" <ji...@apache.org> on 2021/06/24 13:23:00 UTC
[jira] [Created] (HDDS-5383) Eliminate expensive string creation in
debug log messages
Wei-Chiu Chuang created HDDS-5383:
-------------------------------------
Summary: Eliminate expensive string creation in debug log messages
Key: HDDS-5383
URL: https://issues.apache.org/jira/browse/HDDS-5383
Project: Apache Ozone
Issue Type: Improvement
Reporter: Wei-Chiu Chuang
Use IntelliJ and search with regex pattern: LOG\.debug.*toString
I found a number of bad log message practice where string objects are created or concatenated regardless log level.
Parameters passed to slf4j debug log are supposed to be O(1).
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org