D-Link DWS-1008 CLI Manual 507
local-facility facility-level For messages sent to a syslog server, maps all messages of the
severity you specify to one of the standard local log facilities defined
in RFC 3164. You can specify one of the following values:
• 0—maps all messages to local0.
• 1—maps all messages to local1.
• 2—maps all messages to local2.
• 3—maps all messages to local3.
• 4—maps all messages to local4.
• 5—maps all messages to local5.
• 6—maps all messages to local6.
• 7—maps all messages to local7.
If you do not specify a local facility, MSS sends the messages with
their default MSS facilities. For example, AAA messages are sent
with facility 4 and boot messages are sent with facility 20 by default.
enable Enables messages to the specified target.
disable Disables messages to the specified target.
Defaults:
• Events at the error level and higher are logged to the switch console.
• Events at the error level and higher are logged to the switch system buffer.
• Trace logging is enabled, and debug-level output is stored in the switch trace buffer.
Access: Enabled.
Usage: Using the command with only enable or disable turns logging on or off for the target at all
levels. For example, entering set log buffer enable with no other keywords turns on logging to the
system buffer of all facilities at all levels. Entering set log buffer disable with no other keywords
turns off all logging to the buffer.
Examples: To log only emergency, alert, and critical system events to the console, type the
following command:
DWS-1008# set log console severity critical enable
success: change accepted.
See Also:
• show log config
• clear log