Closed yanguoyu closed 1 year ago
Now all logs are written to stderr.
If run like this RUST_LOG=info,ckb_light_client=info ./ckb-light-client run --config-file "./ckb_light.toml" 1>./log.log 2>./error.log
RUST_LOG=info,ckb_light_client=info ./ckb-light-client run --config-file "./ckb_light.toml" 1>./log.log 2>./error.log
I will find all the logs are in error.log, they include the INFO log.
Now all logs are written to stderr.
If run like this
RUST_LOG=info,ckb_light_client=info ./ckb-light-client run --config-file "./ckb_light.toml" 1>./log.log 2>./error.log
I will find all the logs are in error.log, they include the INFO log.