change redirect to view log if submit delete log.