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
log destination
■
1223
Chapter 12: L Commands
Summary of Contents for JUNOSE 11.0
Page 6: ...vi...
Page 8: ...viii JUNOSe 11 0 x Command Reference Guide A to M...
Page 38: ...xxxviii List of Tables JUNOSe 11 0 x Command Reference Guide A to M...
Page 44: ...2 Commands A to M JUNOSe 11 0 x Command Reference Guide A to M...
Page 62: ...20 Interface Types and Specifiers JUNOSe 11 0 x Command Reference Guide A to M...
Page 63: ...Chapter 2 A Commands 21...
Page 185: ...Mode Global Configuration Subscriber Policy Configuration arp 143 Chapter 2 A Commands...
Page 253: ...Chapter 3 B Commands 211...
Page 388: ...346 bundled group id overrides mlppp ed JUNOSe 11 0 x Command Reference Guide A to M...
Page 389: ...Chapter 4 C Commands 347...
Page 515: ...Chapter 5 D Commands 473...
Page 595: ...Chapter 6 E Commands 553...
Page 649: ...Chapter 7 F Commands 607...
Page 687: ...Chapter 8 G Commands 645...
Page 703: ...Chapter 9 H Commands 661...
Page 718: ...676 hotfix activate JUNOSe 11 0 x Command Reference Guide A to M...
Page 719: ...Chapter 10 I Commands 677...
Page 1009: ...Configuring an ICR Partition ip vrrp icr partition vlan range 967 Chapter 10 I Commands...
Page 1168: ...1126 is type JUNOSe 11 0 x Command Reference Guide A to M...
Page 1169: ...Chapter 11 K Commands 1127...
Page 1171: ...Related Topics Configuring RADIUS Based Mirroring key 1129 Chapter 11 K Commands...
Page 1173: ...Chapter 12 L Commands 1131...
Page 1273: ...Mode Global Configuration log severity 1231 Chapter 12 L Commands...
Page 1284: ...1242 lsp refresh interval JUNOSe 11 0 x Command Reference Guide A to M...
Page 1285: ...Chapter 13 M Commands 1243...
Page 1465: ...Part 2 Index Index on page 1425 Index 1423...
Page 1466: ...1424 Index JUNOSe 11 0 x Command Reference Guide A to M...