Juniper JUNOS OS 10.3 - SYSTEM LOG MESSAGES REFERENCE 7-12-2010 Reference Manual page 88

System log messages reference
Table of Contents

Advertisement

Junos 10.3 System Log Messages Reference
Related Topics
Disabling Logging of a Facility
Examples: Configuring System Logging
24
match "!(.*snmpd.*)";
}
file snmpd-errors {
daemon error;
match ".*snmpd.*";
}
Single-Chassis System Logging Configuration Overview
Examples: Configuring System Logging
To disable the logging of messages that belong to a particular facility, include the
statement in the configuration. This statement is useful when, for example, you
none
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
statement and then a
any severity
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
Messages from those facilities are logged to the file
[edit system syslog]
console {
any error;
daemon none;
kernel none;
}
file internals {
daemon info;
kernel info;
}
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
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
statement for each facility that you
facility none
and
daemon
/var/log/internals
cli-commands
and to the terminal of any user
/var/log/alarms
:
Copyright © 2010, Juniper Networks, Inc.
facility
facilities.
kernel
instead:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junos os 10.3 - software

Table of Contents