You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "Fabrice Daugan (JIRA)" <ji...@apache.org> on 2016/04/14 17:53:25 UTC
[jira] [Created] (LOG4J2-1367) Performance improvement for
%highlight with Normal
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: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org