Friday, 16 January 2009

Debugging log4j itself

Problem: You cannot find out which file is used.

Try running VM with parameter

You'll get info about log4j properties in console.


1 comment:

Laurentiu Delcea said...

This works great, I had a project with multiple maven modules and I was not sure what properties log4j would load.

Thank you!

Popular Posts