cleaned log statement