FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
avneesh_
Staff
Staff
Article Id 269245
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.