Added direction logging on packet parsing.