Fixed bad casting for packet type
Removed unnecessary log information which are bloating the log files