fixed log4J issue with logging.