Description |
This article describes how to disable logging for a particular web filter category without changing the action for the category. This is particularly helpful if the category is generating a lot of logs that are not needed, but the category still needs to be blocked. |
Scope | FortiGate. |
Solution |
To disable the logging for the category, determine the category ID first. To do so, run the following command:
get webfilter categories
Once the ID for the category has been determined, disable the logging using the following commands:
config webfilter profile edit <webfilter profile> config ftgd-wf config filters edit <object that contains the category> set log disable
This will disable logging for the particular category, but no change will be made to the action for the category. In order for the log disable to work properly, the Firewall Policy has to be using Proxy Inspection mode. |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.