Fix log statement in inline