logging issue