added option to support logging compile for pcie