Added dump packets to file
Fixed log