Set format to log_file.