Describe the bug
Currently, panic logs only appear in the console and not in log files (both error and standard log file). It should appear in both error logs and the standard logs file.
To Reproduce
Steps to reproduce the behavior:
Run the node: cargo run --bin kaspad
Do anything that causes it to panic
The logs only show up on the console
Expected behavior
The panic logs shows up on both log files
Additional context
First point of contact: core/src/panic.rs
Describe the bug Currently, panic logs only appear in the console and not in log files (both error and standard log file). It should appear in both error logs and the standard logs file.
To Reproduce Steps to reproduce the behavior:
cargo run --bin kaspad
Expected behavior The panic logs shows up on both log files
Additional context First point of contact:
core/src/panic.rs