03-17-2009 05:24 AM - edited 03-06-2019 04:38 AM
Hi,
Why am I getting "51w3d:" in logs instead of date. How can I change to the time stamp.
03-17-2009 05:32 AM
Perhaps because "service timestamps" or "service timestamps uptime" is defaulted or configured.
Try "service timestamps datetime".
03-17-2009 06:23 AM
Hi Joseph
You missed the log option off that command ;-)
service timestamps log localtime show-timezone
03-17-2009 07:06 AM
In addition to what Adam said, I also do debugs the same way:
service timestamps debug datetime localtime
service timestamps log datetime localtime
HTH,
John
03-17-2009 09:20 AM
Hello John,
I like more time resolution so I use
service timestamps debug datetime localtime msec
service timestamps log datetime localtime msec
Hope to help
Giuseppe
03-17-2009 09:30 AM
In addition and without wanting to state the obvious, make sure the clock is set, ideally to a time source.
03-17-2009 05:42 PM
Yes I did, thanks!
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