improve logging performance by using log4j dateFormat