delete chat() log_err