You can assign a dedicated CPU resource for the on-box logging. The use of the dedicated resource improves the qyery performance. To assign the dedicated resource, configure the new enhanced-logging statement at the [edit security forwarding-options resource-manager] hierarchy level.