[Contents] [Prev] [Next] [Index] [Report an Error]

syslog

Syntax

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 {
archive-sites {
site-name;
}
files number;
size size;
start-time date.time;
transfer-interval interval;
(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";
}
}

Hierarchy Level

[edit system]

Release Information

Statement introduced before JUNOS Release 7.4.

Description

Configure the types of system log messages to log to files, a remote destination, user terminals, or the system console.

The statements are explained separately.

Usage Guidelines

See Configuring System Log Messages.

Required Privilege Level

system—To view this statement in the configuration.

system-control—To add this statement to the configuration.

Related Topics

JUNOS System Log Messages Reference


[Contents] [Prev] [Next] [Index] [Report an Error]