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";
}
}