I am trying to get logs like traffic logs (allowed OR blocked), ACL logs etc from Cisco core switch, But am getting only the console logs.
How can i configure Cisco device to send all logs,
Actually you need to up the syslog logging trap level for your syslog output on your switches and IOS devices..
Thats good walk through, depending on your requirements, INFO is default, you probably should up that to WARN or CRIT..
Thanks for your reply.
I have enabled logging trap debugging, Still after doing that we should need to get all the logs right?
But after doing that also still getting the same logs which is shown in the image.
Did you do what I suggested in my answer? See the links below. You don't need debugging, you need informational, and you need to add "log" or "log-input" to the Access Control Entries (ACEs)
You need to suffix "log" or "log-input" to all your ACE entries to get them logged.
log-input will also give you the interface name and is the preferred. See http://www.cisco.com/web/about/security/intelligence/acl-logging.html or https://learningnetwork.cisco.com/thread/40835