change the log format
improve logging.