upgrade logging