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.