How to change log time stamp and error detail

Unanswered Question


                       When I show diagnostic logs for aWS-C2960G-24TC-L the timestamp only shows the "12w6d". How do I set the log to show the complete time ?

now I have added the command

"service timestamps log datetime localtime"

"service timestamps debug datetime localtime"

Still i am getting the old logs in this format only "12w6d"

Is there anyway to convert the logtime into normal time.

Thanks in Advance



  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
milan.kulik Wed, 12/02/2009 - 00:26
User Badges:
  • Red, 2250 points or more


I met similar problem several years ago with 3548-XL switches.

I had to reload the switch to make the new log timestamps working that time.



vmiller Wed, 12/02/2009 - 08:41
User Badges:
  • Gold, 750 points or more

No suprise there Milan.

I would suggest our questioner look hard at taking NTP from the

Internet assuming they have no valid NTP source on the inside

of their network. Any reboot tends to whack the clock settings.


This Discussion