log (Security Policies)

 

Syntax

Hierarchy Level

Release Information

Statement introduced in Junos OS Release 8.5.

Description

Log traffic information for a specific policy. Traffic information is logged when a session begins (session-init) or closes (session-close).

Note

You must configure security policy for the session using the set security policies from-zone zone-name to-zone zone-name policy policy-name then log session-close command to list all the applications and nested applications in Application Tracking on J-Web using the on-box reporting feature.

Options

session-closeStart logging traffic when the session ends.
session-initStart logging traffic when the session begins.

Required Privilege Level

security—To view this statement in the configuration.

security-control—To add this statement to the configuration.