Juniper Networks
Log in
|
How to Buy
|
Contact Us
|
United States (Change)
Choose Country
Close

Choose Country

North America

  • United States

Europe

  • Deutschland - Germany
  • España - Spain
  • France
  • Italia - Italy
  • Россия - Russia
  • United Kingdom

Asia Pacific

  • Asean Region (Vietnam, Indonesia, Singapore, Malaysia)
  • Australia
  • 中国 - China
  • India
  • 日本 - Japan
  • 대한민국 - Korea
  • 台灣 - Taiwan
Solutions
Products & Services
Company
Partners
Support
Education
Community
Security Intelligence Center

Technical Documentation

Support
Technical Documentation
Content Explorer New
 
Enterprise MIBs
 
EOL Documentation
 
Feature Explorer Login required New
 
File Format Help
 
Glossary
 
Portable Libraries
 
 
Home > Support > Technical Documentation > JunosE Software > log destination
Print
Rate and give feedback:  Feedback Received. Thank You!
Rate and give feedback: 
Close
This document helped resolve my issue.  Yes No

Additional Comments

800 characters remaining

May we contact you if necessary?

Name:  
E-mail: 
Submitting...

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

  • console—Configures or modifies logging to the local console
  • nv-file—Configures or modifies logging to the nonvolatile log file; the nv-file can accept only events at a severity level of critical or higher in importance
  • syslog—Configures or modifies logging to a system log server
  • ipAddress—IP address of the system log application on a remote host
  • facility—Specifies the system log facility on the host
  • facilityId—Number in the range 0–7 that identifies the corresponding logging facility, local0–local7
  • severity—Sets minimum severity of the log messages displayed; described either by a descriptive term—severityValue—or by a corresponding number—severityNumber—in the range 0–7. The lower the number, the higher the priority:
    • emergency or 0—System unusable
    • alert or 1—Immediate action needed
    • critical or 2—Critical condition exists
    • error or 3—Error condition
    • warning or 4—Warning condition
    • notice or 5—Normal but significant condition
    • info or 6—Informational message
    • debug or 7—Debug message
  • off—Disables logging to this destination
  • include—Sends only the specified event categories to the system log server
  • exclude—Sends all event categories except those specified to the system log server

    Issuing an includecommand after an excludecommand (or vice versa) overrides the earlier command.

    You can issue successive includecommands or successive excludecommands. Successive commands expand the list of included or excluded categories.

  • category—Log category; refer to the CLI online Help for available options
  • *—Indicates that one or more parameters can be repeated multiple times in a list in the command line

Mode

Global Configuration

Published: 2012-06-28

 
  • About Juniper
  • Investor Relations
  • Press Releases
  • Newsletters
  • Juniper Offices
  • Green Networking
  • Resources
  • How to Buy
  • Partner Locator
  • Image Library
  • Visio Templates
  • Security Center
  • Community
  • Forums
  • Blogs
  • Junos Central
  • Social Media
  • Developers
  • Support
  • Technical Documentation
  • Knowledge Base (KB)
  • Software Downloads
  • Product Licensing
  • Contact Support
Site Map / RSS Feeds / Careers / Accessibility / Feedback / Privacy & Policy / Legal Notices
Copyright© 1999-2012 Juniper Networks, Inc. All rights reserved.
Help
|
My Account
|
Log Out