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

A better log format #3476

Closed
raullenchai opened this issue Jun 27, 2022 · 2 comments · Fixed by #3499
Closed

A better log format #3476

raullenchai opened this issue Jun 27, 2022 · 2 comments · Fixed by #3499
Assignees
Labels

Comments

@raullenchai
Copy link
Member

raullenchai commented Jun 27, 2022

Consider lighthouse's log format

Lvd7NvwkbX

@raullenchai raullenchai self-assigned this Jun 27, 2022
@dustinxie dustinxie assigned huof6829 and unassigned raullenchai Jun 27, 2022
@guo
Copy link
Member

guo commented Jun 27, 2022

just one line change like this:
https://github.com/rs/zerolog#pretty-logging

Example:
image

@dustinxie
Copy link
Member

the current json output is for purpose of ELK processing, if we want a better console output, need to make sure does not break ELK functionality (like still outpu json to log file, but print out a better format to console)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants