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

wanted: cleanup logs #1650

Closed
brilliant-lx opened this issue May 25, 2023 · 0 comments
Closed

wanted: cleanup logs #1650

brilliant-lx opened this issue May 25, 2023 · 0 comments
Assignees
Labels
good first issue Good for newcomers

Comments

@brilliant-lx
Copy link
Collaborator

Rationale

To keep the log clean by default and useful when debug.

Some of the logs to be checked:

t=2023-05-25T06:23:32+0000 lvl=info msg="Unindexed transactions"                 blocks=1  txs=13  tail=14,332,831 elapsed=2.791ms
...
t=2023-05-25T06:35:50+0000 lvl=info msg="Not allowed to propose block"          err="unauthorized validator"
...
t=2023-05-25T06:35:50+0000 lvl=info msg="Not allowed to propose block"          err="unauthorized validator"
t=2023-05-25T06:35:53+0000 lvl=info msg="Imported new chain segment"            blocks=1  txs=169   mgas=11.328  elapsed=40.183ms    mgasps=281.911  number=28,512,344 hash=... dirty="969.19 MiB"
t=2023-05-25T06:35:53+0000 lvl=info msg="Not allowed to propose block"          err="unauthorized validator"
t=2023-05-25T06:35:56+0000 lvl=info msg="The validator is not authorized"       addr=0x......
t=2023-05-25T06:35:56+0000 lvl=info msg="Commit new mining work"                number=28,512,345 sealhash=... uncles=0 txs=0     gas=108,491     elapsed=1.243ms
t=2023-05-25T06:35:56+0000 lvl=warn msg="Block sealing failed"                  err="unauthorized validator...

more to be added

Implementation

NA

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

No branches or pull requests

2 participants