Fixed  log4j initialization.