Is it possible to have log4j print WARNING instead of WARN without a need to write a custom code?
Edit:
I do not want to change tens of thousands lines of code with log.warn(…) in it to be changed. I want log4j to print different log level text for log.warn. Is this possible nor no?
It is very easy, create a new logging level in log4j following this tutorial (copy & paste):
http://jaikiran.wordpress.com/2006/07/12/create-your-own-logging-level-in-log4j/
I did it successfully 😉