syslog (Services Service Set)
Syntax
syslog {
stream stream-name
host hostname {
class {
alg-logs;
deterministic-nat-configuration-log;
ids-logs;
nat-logs;
packet-logs;
pcp-logs;
session-logs <open | close>;
stateful-firewall-logs;
urlf-logs;
log-tag;
}
facility-override facility-name;
interface-service prefix-value;
log-prefix prefix-value;
port port-number;
services severity-level;
source-address source-address;
}
}
Hierarchy Level
[edit services service-set service-set-name]
Description
Configure generation of system log messages for the service set. The system log
information is passed to the kernel for logging in the /var/log
directory. These settings override the values defined at the [edit
interfaces interface-name services-options]
hierarchy level; for more information on configuring those values, see Configuring System Logging for Services Interfaces.
Starting with Junos OS release 14.1X55, 14.2R5, 15.1R3, and 16.1R1, for multiservices (ms-) interfaces, you cannot configure system logging for PCP and ALGs by including the pcp-logs and alg-logs statements at the [edit services service-set service-set-name syslog host hostname class] hierarchy level. An error message is displayed if you attempt to commit a configuration that contains the pcp-logs and alg-logs options to define system logging for PCP and ALGs for ms- interfaces.
Options
stream
stream-name—Assigns a stream name to a data
stream. Stream is assigned to a host:
-
host hostname—Assigns name to a host system.
-
log-tag—Tag included in logs to this host.The remaining statements are described separately.
Required Privilege Level
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.
Release Information
Statement introduced before Junos OS Release 7.4.