Log to stderr not to a file

This commit is contained in:
Azrenbeth
2021-09-28 14:33:18 +01:00
parent dcfa67ea98
commit fa42201e82
3 changed files with 4 additions and 17 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