Conditionalize naked log statement