Added configuration for log4j.