Added common log4j initialization.