fixed Debug log4j bugs