Log to stderr not to a file (#74)

This commit is contained in:
Azrenbeth
2021-09-28 14:39:18 +01:00
committed by GitHub
parent dcfa67ea98
commit bf57e81f54
4 changed files with 4 additions and 20 deletions

View File

@@ -37,7 +37,6 @@ fn main() {
if env::var("RUST_LOG").is_err() {
let mut log_builder = env_logger::builder();
log_builder.target(env_logger::Target::Pipe(Box::new(log_file)));
// Ensure panics still come through
log_builder.filter_module("panic", LevelFilter::Error);
// Only output errors from the synapse_compress state library