Logging color is always white when using Log4j 1 with Karaf 4.1.2
I am having an issue when using Log4j 1 (via pax-logging-service, version
1.10.1) with Karaf 4.1.2, where the logging color in the Karaf console (when
tailing the logs) is always white instead of the usual default colors of
purple for warn, red for error and blue for trace and info, etc.
The reason I am using Log4j 1 instead of Log4j2 is because there doesn't
seem to be any support for the NTEventLogAppender in Log4j2 and I need to
forward my logs to the Windows Event Collector. So I decided to use Log4j 1
in order to keep this capability, but then I ran into this logging color
issue and it's important that the logging color still works as it's almost
impossible to read without it.
Does anyone have suggestions on how to fix the logging color issue or know
if it's possible to get the NTEventLogAppender to work with Log4j2?