log data is sent to stdout
Closed this issue · 1 comments
jonassmedegaard commented
Please redirect log data to stderr, to allow capturing generated output separately from log data.
This should do it:
--- a/rdfsx_cli/src/main.rs
+++ b/rdfsx_cli/src/main.rs
@@ -62,6 +62,7 @@
.with_file(true)
.with_target(false)
.with_line_number(true)
+ .with_writer(io::stderr)
.without_time();
// Attempts to get the value of RUST_LOG which can be info, debug, trace, If unset, it uses "info"
let filter_layer = EnvFilter::try_from_default_env()