07-22-2013 10:15 AM - edited 03-01-2019 11:09 AM
Hi all,
I have several questions about the log file on the Nexus.
We restarted a Nexus switch few days ago and all the logs before the reboot are not present now.
We just have configured the default logging file :
Logging logfile: enabled
Name - messages: Severity - notifications Size - 4194304
I can't see where exactly this file is :
dir log:
31 Jul 22 13:56:01 2013 dmesg
59109 Jul 22 19:07:42 2013 messages <<<<<<<<<<
3551 Jul 22 17:44:50 2013 startupdebug
on the bootflash? i can't found it !
Is the "old" logs are on this file "messages" ? If not is there a way to see these old logs?
Anyway how can we configure that the old logs will be storred on the bootflash for example with a size limit for example ?
Thank you for your help
07-22-2013 02:31 PM
Hello avedis,
You can use the "show logging nvram" to see the old log messages.
Richard
07-23-2013 02:37 AM
Hi,
Thank you but this command doesn't display all the logs.
Anyway how can we configure that the old logs will be storred on the bootflash for example with a size limit for example ?
Thanks for your support
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide