Add packet structure logging