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
Copyright © 2010, Juniper Networks, Inc.
1232
JunosE 11.2.x Command Reference Guide A to M
Summary of Contents for JUNOS OS 10.3 - XML MANAGEMENT PROTOCOL GUIDE 6-30-2010
Page 6: ...Copyright 2010 Juniper Networks Inc vi...
Page 8: ...Copyright 2010 Juniper Networks Inc viii JunosE 11 2 x Command Reference Guide A to M...
Page 38: ...Copyright 2010 Juniper Networks Inc xxxviii JunosE 11 2 x Command Reference Guide A to M...
Page 40: ...Copyright 2010 Juniper Networks Inc xl JunosE 11 2 x Command Reference Guide A to M...
Page 46: ...Copyright 2010 Juniper Networks Inc 2 JunosE 11 2 x Command Reference Guide A to M...
Page 63: ...CHAPTER 2 A Commands 19 Copyright 2010 Juniper Networks Inc...
Page 253: ...CHAPTER 3 B Commands 209 Copyright 2010 Juniper Networks Inc...
Page 389: ...CHAPTER 4 C Commands 345 Copyright 2010 Juniper Networks Inc...
Page 514: ...Copyright 2010 Juniper Networks Inc 470 JunosE 11 2 x Command Reference Guide A to M...
Page 515: ...CHAPTER 5 D Commands 471 Copyright 2010 Juniper Networks Inc...
Page 595: ...CHAPTER 6 E Commands 551 Copyright 2010 Juniper Networks Inc...
Page 663: ...CHAPTER 7 F Commands 619 Copyright 2010 Juniper Networks Inc...
Page 701: ...CHAPTER 8 G Commands 657 Copyright 2010 Juniper Networks Inc...
Page 717: ...CHAPTER 9 H Commands 673 Copyright 2010 Juniper Networks Inc...
Page 732: ...Copyright 2010 Juniper Networks Inc 688 JunosE 11 2 x Command Reference Guide A to M...
Page 733: ...CHAPTER 10 I Commands 689 Copyright 2010 Juniper Networks Inc...
Page 1181: ...CHAPTER 11 K Commands 1137 Copyright 2010 Juniper Networks Inc...
Page 1184: ...Copyright 2010 Juniper Networks Inc 1140 JunosE 11 2 x Command Reference Guide A to M...
Page 1185: ...CHAPTER 12 L Commands 1141 Copyright 2010 Juniper Networks Inc...
Page 1295: ...CHAPTER 13 M Commands 1251 Copyright 2010 Juniper Networks Inc...
Page 1476: ...Copyright 2010 Juniper Networks Inc 1432 JunosE 11 2 x Command Reference Guide A to M...
Page 1477: ...PART 2 Index Index on page 1435 1433 Copyright 2010 Juniper Networks Inc...
Page 1478: ...Copyright 2010 Juniper Networks Inc 1434 JunosE 11 2 x Command Reference Guide A to M...
Page 1502: ...Copyright 2010 Juniper Networks Inc 1458 JunosE 11 2 x Command Reference Guide A to M...