optimize the Packet message output log