Removes unused log