ppkarwasz commented on code in PR #1637:
URL: https://github.com/apache/logging-log4j2/pull/1637#discussion_r1284996306
##########
log4j-core/src/main/java/org/apache/logging/log4j/core/pattern/HighlightConverter.java:
##########
@@ -87,6 +87,10 @@ public final class HighlightConverter extends
LogEventPatternConverter implement
private static final String STYLE_KEY = "STYLE";
+ private static final String DISABLE_ANSI_KEY = "DISABLEANSI";
+
+ private static final String NO_CONSOLE_NO_ANSI_KEY = "NOCONSOLENOANSI";
+
Review Comment:
These are already defined as `PatternParser.DISABLE_ANSI` and
`PatternParser.NO_CONSOLE_NO_ANSI`.
They differ in casing, but keys are matched case-insensitive anyway.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]