Skip to main content
ckarwei
Staff
Staff
Jan 4, 2022 8:27 AM UTC

Technical Tip: Enabling policy comment in log

  • Apr 16, 2026 12:17 PM UTC
  • 0 replies
  • 927 views
  • Translate All
Description

This article describes how to enable policy comment in log field.

Scope  
Solution

1) By default, firewall policy comments will not write into log.

 

2) This can be enable with the CLI commands below.

 

FGT # config log setting

(setting) set log-policy-comment enable

(setting) end

 

3) After enabled the setting, a new log field 'comment' will be showing on the raw logs.

 

This information can be use in the log filter.

Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024