- syslog {
-
- archive {
- files number;
- size maximum-file-size;
- start-time "YYYY-MM-DD.hh:mm";
- transfer-interval minutes;
- (world-readable | no-world-readable);
- }
-
- console {
- facility severity;
- }
-
- file filename {
- facility severity;
- explicit-priority;
- match "regular-expression";
-
- archive {
- files number;
- size maximum-file-size;
- start-time "YYYY-MM-DD.hh:mm";
- transfer-interval minutes;
- (world-readable | no-world-readable);
- }
-
- structured-data {
- brief;
- }
- }
-
- 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 (millisecond | year | year millisecond);
-
- user (username | *) {
- facility severity;
- match "regular-expression";
- }
- }
Statement introduced before JUNOS Release 7.4.
Statement introduced in JUNOS Release 9.0 for EX Series switches.
Configure the types of system log messages to log to files, a remote destination, user terminals, or the system console.
The remaining statements are explained separately.
system—To view this statement in the configuration.
system-control—To add this statement to the configuration.