Log incoming packet indices to analyze packet losses