Log4j madness.

Some things will never change, like log4j configuration madness. I have lost so much time trying to fix log4j configuration in not so trivial setups (involving Documentum’s JBoss server or Alfresco running in Tomcat) that it is almost impossible to believe that I have never stumbled on this extremely useful advice. So guys, remember this: if you will ever have a problem with log4j use this:


This will tell you, first of all, where is the log4j.properties located and what are the appenders, categories and so on. Now working with log4j is a piece of cake 😉

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.