query.append packet to log