The following configuration describes how to send a log of Cisco devices to the Syslog Server The following configuration describes how to send a log of Cisco devices to the Syslog server.
Device # conf T
Device (config) #logging on
Device (config) #logging a.b.c.d // log server IP address
Device (config) #logging facility local1
// Facility identifier, the local device identified by RFC3164 is LOCAL0 - LOCAL7
Device (config) #logging trap errors // log record level, available "?" View Details
Device (config) #logging source-interface E0 // Log sent source IP address
Device (config) #service timestamps log datetime localtime
// Logging timestamp settings can be configured as needed
test
Device # sh logging