Revert "Log_packet fix"

This reverts commit 50a09909e3ad433a81e4fd7acee862dca8c809de.
Fix for endpoint