Navigation
Junos OS System Log Configuration Hierarchy
To configure the router 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;archive <archive-sites {ftp-url <password password>}> <files number> <size size> <start-time "YYYY-MM-DD.hh:mm"> <transfer-interval minutes> <world-readable | no-world-readable>;explicit-priority;match "regular-expression";structured-data {brief;}}host (hostname | other-routing-engine | scc-master) {facility severity;explicit-priority;facility-override facility;log-prefix stringmatch "regular-expression";source-address source-address;structured-data {brief;}}source-address source-address;time-format (year | millisecond | year millisecond);user (username | *) {facility severity;match "regular-expression";}}