Refined the log format