Correcting log statement