11-30-2009 01:53 PM - edited 03-04-2019 06:49 AM
Hi,
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
Regards
Gopinath.L
11-30-2009 02:51 PM
You need to set the system clock first.
This is done either through setting the clock on the device itself
or by pointing the device to an NTP server.
12-02-2009 12:26 AM
Hi,
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.
BR,
Milan
12-02-2009 08:41 AM
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.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: