changed log_level for error