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.

I have followed the directions in this article
(http://tmielke.blogspot.com/2013/04/how-to-chang-colors-in-karaf-shell.html)
to attempt changing the logging color, but it did not work.

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?







--
Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html

Reply via email to