Removed misplaced log statement