got logging working a bit, just needs to diferntiate initial and resent packets, that comes with the error control