[Contents] [Prev] [Next] [Index] [Report an Error] [No Frames]


log destination

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.


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 ]*

Issuing an include command after an exclude command (or vice versa) overrides the earlier command.

You can issue successive include commands or successive exclude commands. Successive commands expand the list of included or excluded categories.

Mode(s): 

Global Configuration

    Release Information    Command introduced before JUNOSe Release 7.1.0.


[Contents] [Prev] [Next] [Index] [Report an Error] [No Frames]