Closed luckysori closed 1 year ago
I don't think this worked in the 10101-poc as all rust-lightning logs where printed to debug.
// TODO: Distinguish between the log levels instead of logging
// everything on trace
tracing::debug!(
target: "ldk",
?log_level,
module_path = record.module_path,
line = record.line,
raw_log
);
We tried to configure the tracing for our single_hop_payment
test. Currently it is set to debug
, but trace
printed all the logs except for the rust-lightning trace logs.
We suspect that the modules referenced are not correct, and depending on where the logger is called from the messages will not adhere to the defined log level.
https://github.com/get10101/10101/tree/ln-dlc-node-single-hop-test
This is working on main. Closing the ticket. @Restioson thanks for fixing it.
This did work in
10101-poc
.