revise logging