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

Technical Documentation
 
CLI Explorer New
 
Content Explorer New
 
Documentation Help New
 
Enterprise MIBs
 
EOL Documentation
 
Feature Explorer Login required New
 
Glossary
 
Portable Libraries
 
Home > Support > Technical Documentation > Configuring System Log Messages
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...
 

Related Documentation

  • Configuring Control and Data Cores
  • Configuring Packet Distribution Settings
  • Configuring Memory Settings
  • Configuring Packages on the PIC
 

Configuring System Log Messages

To record or view system log messages on a specific PIC, include the syslog statement at the [edit chassis fpc slot-number pic pic-number adaptive-services service-package extension-provider] hierarchy level:

[edit chassis fpc slot-number pic pic-number adaptive-services service-package]extension-provider {syslog {facility {severity;destination destination;}}}

Note: When the extension-provider statement is first configured, the PIC reboots. After that, changing system log settings does not cause the PIC to reboot.

Each system log message belongs to a facility, which is a group of messages that are either generated by the same software process or concern a similar condition or activity. Each message is also preassigned a severity level, which indicates how seriously the triggering event affects router functions.

For the Junos SDK, there are four values for the facility statement that log either actions performed or errors encountered by the following entities:

  • daemon—Various system processes.
  • external—Local external applications.
  • kernel—The PIC kernel.
  • pfe—The Packet Forwarding Engine.

The severity statement has the same values as it does in the native Junos operating system (OS). See Table 1 for possible values.

Table 1: Severity Levels for SDK Syslog Messages

Level

Description

any

Include all severity levels.

none

Disable logging of the associated facility to a destination.

emergency

System panic or other condition that causes the routing platform to stop functioning.

alert

Conditions that require immediate correction, such as a corrupted system database.

critical

Critical conditions, such as hard errors.

error

Error conditions that generally have less serious consequences than errors in the emergency, alert, and critical levels.

warning

Conditions that warrant monitoring.

notice

Conditions that are not errors but might warrant special handling.

info

Events or nonerror conditions of interest.

Enhancements to the existing infrastructure make debugging on the Multiservices PIC easier by giving the user the option of redirecting the log messages to either the Routing Engine (routing-engine) or to the console of the PIC (pic-console).

The user does not have to specify a destination for the messages; by default all messages go to the /var/log directory on the Routing Engine. When the syslog destination is configured to redirect the log messages to the Routing Engine, you can use the set system syslog command, a command available in the Junos OS CLI, to override the syslog settings made on the Multiservices PIC.

To record or view system log messages on a specific PIC, include the syslog statement. System log information is passed to the Routing Engine and put in the /var/log directory.

 

Related Documentation

  • Configuring Control and Data Cores
  • Configuring Packet Distribution Settings
  • Configuring Memory Settings
  • Configuring Packages on the PIC
 

Published: 2012-02-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-2013 Juniper Networks, Inc. All rights reserved.
Help
|
My Account
|
Log Out