logging-log4j2 icon indicating copy to clipboard operation
logging-log4j2 copied to clipboard

Refactor StatusLogger to use precompiled Pattern constants

Open kamilkrzywanski opened this issue 4 months ago • 2 comments

We should improve the implementation of StatusLogger by extracting all regular expressions used for property normalization and matching into clearly named, precompiled Pattern constants. This change would:

Avoid repeated calls to Pattern.compile(...), improving performance. Increase readability and maintainability by clearly naming intent of regex patterns.

kamilkrzywanski avatar Jun 06 '25 19:06 kamilkrzywanski