Log Command Reference
278 7705 SAR OS System Management Guide
Parameters ip-address — the IP address of the syslog target host
Values ipv4-address a.b.c.d (host bits must be 0)
ipv6-address x:x:x:x:x:x:x:x (eight 16-bit pieces)
x:x:x:x:x:x:d.d.d.d
x: [0 to FFFF]H
d: [0 to 255]D
facility
Syntax facility syslog-facility
no facility
Context config>log>syslog
Description This command configures the facility code for messages sent to the syslog target host.
Multiple syslog IDs can be created with the same target host but each syslog ID can only have one
facility code. If multiple facility codes are entered, the last facility code entered overwrites the previous
facility code.
If multiple facilities need to be generated for a single syslog target host, then multiple log-id entries
must be created, each with its own filter criteria to select the events to be sent to the syslog target host
with a given facility code.
The no form of the command reverts to the default value.
Default local7
Parameters syslog-facility — the syslog facility name represents a specific numeric facility code. The code
should be entered in accordance with the syslog RFC. However, the software will not confirm
whether the facility code is valid or invalid for the event type being sent to the syslog target
host.
Values 0 to 23
Valid codes per RFC 3164, The BSD syslog Protocol, are listed in
Table 38.
Table 38: Valid Facility Codes
Numerical Code Facility Code
0kernel
1user
2mail
3 systemd
4 auth