User Manual

Table Of Contents
[Description]
Specifies the IP address of the SYSLOG server to which log notifications are sent.
Up to 2 entries can be specified.
If this command is executed with the "no" syntax, the setting returns to its default value, and notifications are not sent.
[Example]
Set the SYSLOG server IPv4 address to 192.168.100.1.
SWR2310(config)#logging host 192.168.100.1
Set the SYSLOG server IPv6 address to fe80::2a0:deff:fe11:2233.
SWR2310(config)#logging host fe80::2a0:deff:fe11:2233%vlan1
4.11.2 Setting the notification format of the log
[Syntax]
logging format type
no logging format
[Parameter]
type : Log format type
Setting value Description
legacy
Proprietary format that does not include the
header section (time stamp, host name)
[Initial value]
no logging format
[Input mode]
global configuration mode
[Description]
Change the format of messages sent to the SYSLOG server.
If this command is executed with the "no" syntax, the header (time stamp, host name) is included in the SYSLOG message.
[Example]
Sets the format of the SYSLOG message to no header.
SWR2310(config)#logging format legacy
4.11.3 Setting the log facility value
[Syntax]
logging facility facility
no logging facility
[Parameter]
facility : Log facility value
Setting value Description
0..23 facility value
user 1
local0..local7 16..23
[Initial value]
logging facility local0
Command Reference | Maintenance and operation functions | 55