Fixed log4j issues