logging-log4j2
logging-log4j2 copied to clipboard
Refactor StatusLogger to use precompiled Pattern constants
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.