implement debug log packet