Cisco Show Log – How to Display Number of Messages

ciscocisco-commandslogging

When I run the "show log" command, it displays the latest 360 messages.

Why 360?

Can this value by changed?

If yes, what is the command for that?

Thanks.

Best Answer

If you’re using ‘show log’ to display messages in the logging buffer, then you’re using IOS or IOS-XE.

In both of those Cisco operating systems there is a default syslog buffer size (configured in bytes). It happens that you can currently fit 360 messages in that buffer.

You can change the log buffer size to be much larger with: “logging buffered 15000000 debugging”; that command will make your log buffer about 15MB, and will accept log messages at the debug level or higher.

Warning changing your log buffer size will flush the current log buffer.