fix log_formats support