Cleaning up log statement