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

Add more resolution to log timer #2231

Closed
wemeetagain opened this issue Mar 23, 2021 · 2 comments · Fixed by #2279
Closed

Add more resolution to log timer #2231

wemeetagain opened this issue Mar 23, 2021 · 2 comments · Fixed by #2279
Labels
good first issue Issues that are suitable for first-time contributors.

Comments

@wemeetagain
Copy link
Member

Is your feature request related to a problem? Please describe.

Current logs print time with resolution at the second.

Describe the solution you'd like

We would like finer resolution (eg: millisecond-level)

2021-03-22 23:35:27 -> 2011-10-05T14:48:00.000Z

@dapplion
Copy link
Contributor

Lighthouse logs for content, maybe even nicer than ISO string

Mar 23 18:17:28.564 INFO Successfully published attestations     type: unaggregated, slot: 1287, committee_index: 34, head_block: 0x046c1c39e2a73666659df995755ce44dc3247bc5a636afa0b20218e2ca50cb92, count: 1, service: attestation

@wemeetagain wemeetagain added the good first issue Issues that are suitable for first-time contributors. label Mar 23, 2021
@g11tech
Copy link
Contributor

g11tech commented Mar 26, 2021

I would prefer it to be easily loadable to date object and closer to ISO. how about?

  1. 2021-Mar-23 18:17:28.564 or
  2. 2021-03-23 18:17:28.564
    i prefer the 1).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Issues that are suitable for first-time contributors.
Projects
None yet
3 participants