Rollback, delete logging func