EasyManuals Logo

Juniper JUNOS OS 10.3 - SYSTEM LOG MESSAGES REFERENCE 7-12-2010 User Manual

Juniper JUNOS OS 10.3 - SYSTEM LOG MESSAGES REFERENCE 7-12-2010
748 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #88 background imageLoading...
Page #88 background image
match “!(.*snmpd.*)”;
}
file snmpd-errors {
daemon error;
match “.*snmpd.*”;
}
Related Topics Single-Chassis System Logging Configuration Overview
Examples: Configuring System Logging
Disabling Logging of a Facility
To disable the logging of messages that belong to a particular facility, include the facility
none statement in the configuration. This statement is useful when, for example, you
want to log messages that have the same severity level and belong to all but a few
facilities. Instead of including a statement for each facility you want to log, you can include
the any severity statement and then a facility none statement for each facility that you
do not want to log. For example, the following logs all messages at the error level or
higher to the console, except for messages from the daemon and kernel facilities.
Messages from those facilities are logged to the file /var/log/internals instead:
[edit system syslog]
console {
any error;
daemon none;
kernel none;
}
file internals {
daemon info;
kernel info;
}
Examples: Configuring System Logging
Log messages about all commands entered by users at the CLI prompt or invoked by
client applications such as Junos XML protocol or NETCONF clients, and all authentication
or authorization attempts, both to the file cli-commands and to the terminal of any user
who is logged in:
[edit system]
syslog {
file cli-commands {
interactive-commands info;
authorization info;
}
user * {
interactive-commands info;
authorization info;
}
}
Log all changes in the state of alarms to the file /var/log/alarms:
Copyright © 2010, Juniper Networks, Inc.24
Junos 10.3 System Log Messages Reference

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Juniper JUNOS OS 10.3 - SYSTEM LOG MESSAGES REFERENCE 7-12-2010 and is the answer not in the manual?

Juniper JUNOS OS 10.3 - SYSTEM LOG MESSAGES REFERENCE 7-12-2010 Specifications

General IconGeneral
BrandJuniper
ModelJUNOS OS 10.3 - SYSTEM LOG MESSAGES REFERENCE 7-12-2010
CategorySoftware
LanguageEnglish

Related product manuals