User Manual

Table Of Contents
[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.
SWX3220(config)#logging format legacy
4.12.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
[Input mode]
global configuration mode
[Description]
Change the facility value of messages sent to the SYSLOG server.
[Note]
The meanings of the facility values are assigned independently on each SYSLOG server.
[Example]
Set the facility value of the SYSLOG message to 10.
SWX3220(config)#logging facility 10
4.12.4 Set log output level (debug)
[Syntax]
logging trap debug
no logging trap debug
[Initial value]
no logging trap debug
[Input mode]
global configuration mode
[Description]
Output the debug level log to SYSLOG. If this command is executed with the "no" syntax, the log is not output.
Since enabling debug level will output a large volume of log data, you should enable this only if necessary.
If you use the logging host command to send notifications to the SYSYLOG server, you should ensure that there is sufficient
disk space on the host. With the default setting, this is not output.
[Example]
Output the debug level log to SYSLOG.
66 | Command Reference | Maintenance and operation functions