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

Anton commented on LOG4J2-2342:
-------------------------------

{{For those, who is searching for the solution - try this to enable ansi 
colors:}}
{code:java}
<PatternLayout pattern="..." disableAnsi="false"/>{code}
{{{{}}}}

> highlight not working anymore
> -----------------------------
>
>                 Key: LOG4J2-2342
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-2342
>             Project: Log4j 2
>          Issue Type: Bug
>    Affects Versions: 2.9.0, 2.9.1, 2.10.0, 2.11.0
>            Reporter: Pascal Knüppel
>            Priority: Major
>             Fix For: 2.8.2
>
>
> the ansi color support is broken since version 2.9.0 I used to setup my 
> pattern like this:
>  
> {color:#e8bf6a}<{color}{color:#cc7832}PatternLayout{color} 
> {color:#bababa}pattern{color}{color:#a5c261}="%d\{DATE} [%t] 
> %highlight\{%-5level}{FATAL=bright red, ERROR=red, WARN=yellow, INFO=white, 
> DEBUG=bright blue, TRACE=green } %logger\{36} (%F:%L) - 
> %highlight\{%msg%n%throwable}{FATAL=bright red, ERROR=red, WARN=yellow, 
> INFO=white, DEBUG=bright blue, TRACE=green }"{color}{color:#e8bf6a}/>{color}
> but when I updated recently from 2.8.2 to version 2.11.0 it did not work 
> anymore. I tried all versions backwards to 2.8.2 but all versions above 2.8.2 
> wont work with highlighting...



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to