added log statements to corrupted packets.