Fix small logging issue