Intellij 14 console not respecting ANSI colors
Answered
I have defined color highlighting in my logback appender configuration:
<encoder>
<pattern>[%thread] %highlight(%-5level) %cyan(%logger{15}) - %msg %n</pattern>
</encoder>
However, logs in IDEA Intellij 14 console are still black and white with ANSI color not escaped:
[main] [39mDEBUG[0;39m [36mo.o.x.XMLConfigurator[0;39m - Loading configuration from XML Document
How can I fix it?
Please sign in to leave a comment.
ANSI coloring is already supported, but it depends on the run/debug configuration type that you are using. Java Application configuration supports it starting from IntelliJ IDEA 14.
You can also try this third-party plug-in.
i have the latest intelliJ version. I cannot highlight the logs on the console. I have ANSI highlighter plugin and also Darkula theme selected. I use log4j2 for highlighting. Do you know what might be the conflict?
Please share the sample project and provide the steps to reproduce it.