3850/3650 Denali code not logging debugs to syslog
I am in need of running debug for a long time (several days). I found where the new Denali code uses set platform software trace commands for debug of RADIUS and dot1x. Did the set commands, and can see debug messages via show platform software trace command. However, I cannot get those messages to log to a syslog server. I can get the "classic debug" for debug cdp to log to syslog, but not the set commands messages.
TAC is working with me, but am hoping someone in the community can get me an answer sooner.
1) Does the new set commands support logging to syslog?
2) Is there a command that needs to be used to get the set platform command messages to log to syslog?
It appears that you can only trace to a local file:
Location of Tracelogs
Each process uses btrace infrastructure to log its trace messages. When a process is active, the corresponding in-memory tracelog is found in the directory/tmp/<FRU>/trace/, where<FRU>refers to the location where the process is running (rp, fp, or cc).
When a tracelog file has reached the maximum file size limit allowed for the process, or if the process ends, it gets rotated into the following directory:
/crashinfo/tracelogs, if the crashinfo: partition is available on the switch
/harddisk/tracelogs, if the crashinfo: partition is not available on the switch
The tracelog files are compressed before being stored in the directory.
Thanks Reza Sharifi for the link. Sort of what I had found before opening a TAC case. TAC keeps asking for more data, but has not come back saying that it is not possible to log to syslog. Somewhere I found something about a 25 log compressed limit and there was a hard limit of 1 meg for the "running" logs before they are compress and filed. The "request platform software trace archive ...... target" does not allow for an "off device" target such as FTP/TFTP/SCP etc. at least on the code we are running. But I also see with the TAC case that this command is in flux with different versions of IOS.
Link to limits, on page 2 under "tracelog size limit and rotation policy":
Community Live- ISR1100X-4G and ISR1100X-6G Platform Overview and Architecture
(Live event - Tuesday, 23 March, 2021 at 10:00 am Pacific/ 1:00 pm Eastern / 7:00 pm Paris)-
This event will have place on Tuesday 23rd, March 2021 at 10:00 hrs PDT&...
Cisco Secure Network Access is helping IT to bridge the gap between what is essential to the business and what the network delivers and to build the next-generation campus network for an unplugged and uninterrupted experience.
Learn more about how these w...
(view in My Videos)
Community Live- New Additions to the Catalyst 8000 Family
(Live event - Tuesday, 23 February, 2021 at 10:00 am Pacific/ 1:00 pm Eastern / 7:00 pm Paris)-
This event had place on Tuesday 23rd, February 2021 at 10:00 hrs PDT...
Community Live-ISR1100X-4G and ISR1100X-6G Platform Overview and Architecture
This event had place on Tuesday 23rd, February 2021 at 10hrs PDT
Designed for an intent-based network, the Cisco Catalyst 8000 Edge Platforms family offers ...
To participate in this event, please use the button to ask your questions
New Additions to the Catalyst 8000 Family
This forum is a chance to clarify all your questions related to the Catalyst 8k Family!
Designed for an intent-based network, the Ci...