Configuring System Logs System Logs Configurations
User Guide     927
The following example shows how to configure the local logs on the switch. Save logs of 
levels 0 to 5 to the log buffer, and synchronize logs of levels 0 to 2 to the flash every 10 
hours:
Switch#configure
Switch(config)#logging buffer
Switch(config)#logging buffer level 5
Switch(config)#logging file flash
Switch(config)#logging file flash frequency periodic 10
Switch(config)#logging file flash level 2
Switch(config)#show logging local-config
 Channel       Level       Status       Sync-Periodic
 -------            -----         ------          -------------
 Buffer            5              enable        Immediately
 Flash             2               enable       10  hour(s)
 Console       5               enable        Immediately
 Monitor        5               enable        Immediately
Switch(config)#end
Switch#copy running-config startup-config
2.2.2  Configuring the Remote Logs
You can configure up to four hosts to receive the switch’s system logs. These hosts are 
called Log Servers. The switch will forward the log message to the servers once a log 
message is generated. To display the logs, the servers should run a log server software 
that complies with the syslog standard.
Follow these steps to set the remote log:
Step 1 configure
Enter global configuration mode.