Details
-
Improvement
-
Status: Resolved
-
Trivial
-
Resolution: Fixed
-
None
-
None
Description
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).
For example,
KeyManagerImpl.refreshPipeline
} catch (IOException ioEx) { LOG.debug("Get containerPipeline failed for {}", containerIDs.toString(), ioEx);
Attachments
Issue Links
- links to