Skip to content

Debug level logs not written to log file (beacon.log) on unstable #7146

@jimmygchen

Description

@jimmygchen

This bug affects latest unstable and was introduced when tracing was merged.

Actual Behaviour

Lighthouse debug logs no longer gets written to the debug log file (beacon.log), both by default and with the --logfile-debug-level=debug flag. Workaround right now is to set RUST_LOG=debug or use --debug-level debug as suggested by Mac, but discv5 logs in the beacon.log file gets very noisy.

Expected Behaviour

  • Debug level logs should be written to the log file by default.
  • --logfile-debug-level flag should overwrite the default when supplied.
  • discv5 logs should not be written to the log file, it should only be written to the discv5.log file.

Metadata

Metadata

Assignees

Labels

v7.1.0Post-Electra release

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions