add log for dump pdu
remove define __unused