small logging tweak