Updates the log format