Developers Guide

Table Of Contents
To view the logging configuration, use the show running-config logging command in privilege mode, as shown in the
example for Configure a UNIX Logging Facility Level.
Display the Logging Buffer and the Logging
Configuration
To display the current contents of the logging buffer and the logging settings for the system, use the show logging
command in EXEC privilege mode. When RBAC is enabled, the security logs are filtered based on the user roles. Only the
security administrator and system administrator can view the security logs.
Example of the show logging Command
DellEMC#show logging
Syslog logging: enabled
Console logging: level debugging
Monitor logging: level debugging
Buffer logging: level debugging, 67 Messages Logged, Size (40960 bytes)
Trap logging: level informational
00:24:05: %STKUNIT1-M:CP %SYS-5-CONFIG_I: Configured from console
00:21:23: %STKUNIT1-M:CP %SYS-5-CONFIG_I: Configured from console
00:20:46: %STKUNIT1-M:CP %SYS-5-CONFIG_I: Configured from console
00:17:38: %STKUNIT1-M:CP %SEC-3-AUTHENTICATION_ENABLE_SUCCESS: Enable authentication
success on console
00:17:38: %STKUNIT1-M:CP %SEC-4-ENABLE_PASSW_NOT_CONFIGURED: Enable password is required
for authentication but not configured (by default from console)
00:00:22: %STKUNIT1-M:CP %SEC-5-LOGIN_SUCCESS: Login successful on console
00:00:20: %STKUNIT1-M:CP %IFMGR-5-OSTATE_UP: Changed interface state to up: Ma 1/1
00:00:20: %STKUNIT1-M:CP %CHMGR-2-SYSTEM_READY: System ready
To view any changes made, use the show running-config logging command in EXEC privilege mode.
Configuring a UNIX Logging Facility Level
You can save system log messages with a UNIX system logging facility.
To configure a UNIX logging facility level, use the following command.
Specify one of the following parameters.
CONFIGURATION mode
logging facility [facility-type]
auth (for authorization messages)
cron (for system scheduler messages)
daemon (for system daemons)
kern (for kernel messages)
local0 (for local use)
local1 (for local use)
local2 (for local use)
local3 (for local use)
local4 (for local use)
local5 (for local use)
local6 (for local use)
local7 (for local use)
lpr (for line printer system messages)
mail (for mail system messages)
news (for USENET news messages)
sys9 (system use)
sys10 (system use)
sys11 (system use)
68
Management