Fabrice Daugan created LOG4J2-1367:
--------------------------------------
Summary: Performance improvement for %highlight with Normal
Key: LOG4J2-1367
URL: https://issues.apache.org/jira/browse/LOG4J2-1367
Project: Log4j 2
Issue Type: Improvement
Components: Pattern Converters
Affects Versions: 2.5
Reporter: Fabrice Daugan
Priority: Minor
When pattern use %highlight with a color "Normal", do not write highlight codes
to output.
For sample, when the level is "INFO", for the below pattern, the highlight
processing could be skipped :
{noformat}
%highlight{%m}{WARN=Red, INFO=Normal}
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]