Removed log4j.properties in classpath which was overriding our own configuration.