delete old code
remove log