Clearing out logs before adding them to ignorelist