System Logging Configuration Statements
To configure the routing platform to log system messages, include the syslog statement
at the [edit system] hierarchy level:
[edit system]
syslog {
archive {
files number;
size size;
(world-readable | no-world-readable);
}
console {
facility severity;
}
file filename {
facility severity;
explicit-priority;
match "regular-expression";
structured-data {
brief;
}
archive {
files number;
size size;
(world-readable | no-world-readable);
}
}
host (hostname | other-routing-engine | scc-master) {
facility severity;
explicit-priority;
facility-override facility;
log-prefix string;
match "regular-expression";
}
source-address source-address;
time-format (year | millisecond | year millisecond);
user (username | *) {
facility severity;
match "regular-expression";
}
}
Minimum and Default System Logging Configuration
For information about the minimum and default system log settings on routing platforms
that run the Junos OS, see the following sections:
•
Minimum System Logging Configuration on page 5
•
Default System Log Settings on page 5
Copyright © 2010, Juniper Networks, Inc.4
Junos 10.3 System Log Messages Reference