log (Security Policies)
Syntax
log (session-close | session-init);
Hierarchy Level
[edit security policies from-zone zone-name to-zone zone-name policy policy-name then]
Description
Log traffic information for a specific policy. Traffic information is logged when a session begins (session-init) or closes (session-close).
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-close | Start logging traffic when the session ends. |
session-init | Start 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.
Release Information
Statement introduced in Junos OS Release 8.5.