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]

Release Information

Statement introduced in Release 8.5 of Junos OS.

Description

Enable traffic to which the policy applies to be logged at the beginning or end of a session.

Options

The remaining statements are explained separately.

Usage Guidelines

For configuration instructions and examples, see the Junos OS Security Configuration Guide.

Required Privilege Level

security—To view this statement in the configuration.

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