I decided to use Log4J logging framework for a new Java project.
I am wondering what strategy should I use for creating/managing Logger instances and why?
When deploying multiple EARs / WARs, it may be better to package the log4j.jar higher up in the classloader hierarchy.
i.e. not in WAR or EAR, but in the System-classloader of your container, otherwise multiple Log4J instances will write to the same file concurrently leading to strange behaviour.