Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node should print logs in UTC #602

Closed
dariolina opened this issue Jun 16, 2022 · 5 comments · Fixed by #1964
Closed

Node should print logs in UTC #602

dariolina opened this issue Jun 16, 2022 · 5 comments · Fixed by #1964
Assignees
Labels
improvement it is already working, but can be better

Comments

@dariolina
Copy link
Member

As seen on Win with June 13 2022 releases, the farmer prints console logs wrt UTC:
2022-06-16T11:03:45.525572Z ...
while node wrt local time:
2022-06-16 13:04:16 ...

@dariolina dariolina added the improvement it is already working, but can be better label Jun 16, 2022
@nazar-pc nazar-pc self-assigned this Jun 16, 2022
@nazar-pc
Copy link
Member

Upstream ticket: paritytech/substrate#11734

@vedhavyas
Copy link
Member

Do not have any context as to why farmer is using UTC but wouldn't it be preferable to print the logs in the local time for farmer as well ?

@nazar-pc
Copy link
Member

From my experience it is always easier to correlate logs between different apps and machines against UTC. If something happened on user's machine, I can see what happened on mine around the same time. With local time I first need to know what time zone it was back when the log was collected.

@nazar-pc
Copy link
Member

Created paritytech/substrate#14760 upstream

@nazar-pc nazar-pc added this to the Protocol UX Improvements milestone Aug 14, 2023
@nazar-pc
Copy link
Member

New upstream PR: paritytech/polkadot-sdk#1500

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement it is already working, but can be better
Projects
Development

Successfully merging a pull request may close this issue.

3 participants