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 "Remko Popma (JIRA)" <ji...@apache.org> on 2016/04/16 05:50:25 UTC

[jira] [Commented] (LOG4J2-1367) Performance improvement for %highlight with Normal

    [ https://issues.apache.org/jira/browse/LOG4J2-1367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15243993#comment-15243993 ] 

Remko Popma commented on LOG4J2-1367:
-------------------------------------

Patches welcome!

> 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