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.
Philipp Meier writes about Java and Java Software Development.
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.