Improved log4j configuration.