Removing rotten log ends