Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Why am I getting "51w3d:" in logs instead of date

Hi,

Why am I getting "51w3d:" in logs instead of date. How can I change to the time stamp.

6 REPLIES
Super Bronze

Re: Why am I getting "51w3d:" in logs instead of date

Perhaps because "service timestamps" or "service timestamps uptime" is defaulted or configured.

Try "service timestamps datetime".

Re: Why am I getting "51w3d:" in logs instead of date

Hi Joseph

You missed the log option off that command ;-)

service timestamps log localtime show-timezone

Re: Why am I getting "51w3d:" in logs instead of date

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

HTH, John *** Please rate all useful posts ***
Hall of Fame Super Silver

Re: Why am I getting "51w3d:" in logs instead of date

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

New Member

Re: Why am I getting "51w3d:" in logs instead of date

In addition and without wanting to state the obvious, make sure the clock is set, ideally to a time source.

Super Bronze

Re: Why am I getting "51w3d:" in logs instead of date

Yes I did, thanks!

197
Views
0
Helpful
6
Replies