Fixed a bug in log4j config