Configuring Maintenance  System Log Configurations
Configuration Guide  
  683
The following example shows how to set the remote log on the switch. Enable log host 2, 
set its IP address as 192.168.0.148, and allow logs of levels 0 to 5 to be sent to the host:
Switch#configure
Switch(config)# logging host index 2 192.168.0.148 5 
Switch(config)# show logging loghost  
 Index    Host-IP                Severity       Status
 -----       -------                    --------          ------
 1             0.0.0.0                   6                   disable
 2            192.168.0.148    5                   enable
 3             0.0.0.0                   6                   disable
 4             0.0.0.0                   6                   disable
Switch(config)#end      
Switch#copy running-config startup-config