You are currently browsing the Philipp Meier's weblog blog archives for February, 2004

content


home

Coloring Log4j: do not change other’s code

Mats suggests to hack log4j’s Priority class to make log4j’s output colored in
Code:Q.

Do not try this at home! It will pollute your logfiles with nasty ANSI color codes. Override PatternLayout instead to format your messages.


Bear