fix the prod logging issue