Refine logging at the netty handler