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

Enable LogFile by default at dataDir #4527

Closed
1 of 3 tasks
dapplion opened this issue Sep 9, 2022 · 1 comment · Fixed by #4531
Closed
1 of 3 tasks

Enable LogFile by default at dataDir #4527

dapplion opened this issue Sep 9, 2022 · 1 comment · Fixed by #4531
Labels
scope-ux Issues for CLI UX or general consumer UX.
Milestone

Comments

@dapplion
Copy link
Contributor

dapplion commented Sep 9, 2022

When users submit issues the follow up question is: "Oh can you run your node again with debug logs?". That's a hard ask since some issues are not reproducible.

Lighthouse logs to file by default, and I really think we should do the same. It would be incredibly helpful to debug situtations. Just tell users: "can you please send us this log file you already have?"

Proposed changes:

  • Set logFile to default location relative to dataDir, and enable
  • Set logFileLevel to debug by default
  • Enable log rotate by default
@dapplion dapplion added the scope-ux Issues for CLI UX or general consumer UX. label Sep 9, 2022
@g11tech
Copy link
Contributor

g11tech commented Sep 9, 2022

👍 this should be ok if we also have log rotation with logfile limit for default

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope-ux Issues for CLI UX or general consumer UX.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants