log destination

Syntax

To specify the destination and severity of messages logged:

log destination { console | nv-file | syslog ipAddress [ facility facilityId ] }
{ severity { severityValue | severityNumber } | off }

no log destination [ console | nv-file | syslog [ ipAddress ] ]

To specify which event categories are logged to syslog:

log destination syslog ipAddress { include | exclude } category [ category ]*

no log destination syslog ipAddress { include | exclude } [ category ]*

Release Information

Command introduced before JunosE Release 7.1.0.

Description

Configures the logging of system messages. You can direct messages to a destination, limit the messages logged based on severity level, or limit the event categories for which messages are logged. The no versions restore default settings or reverse the effect of previous commands that limited event categories.

Note: You can display traffic logs—such as ipTraffic, icmpTraffic, tcpTraffic, and udpTraffic—only via the show log data command or from the SRP module console. You cannot redirect traffic logs elsewhere, such as to a system log or nonvolatile storage file, or to a Telnet session.

Options

Mode

Global Configuration