On Thu, 21 Mar 2019 17:18:41 +0800 Xiaolong Ye <xiaolong.ye at intel.com> wrote: > + if (ret != 0) { > + RTE_LOG(ERR, AF_XDP, "getsockopt() failed for XDP_STATISTICS.\n"); > + return -1; You need to use the new dynamic log types and not have a global logtype.