From 5c6eebc914becbc77ea44918dee2323eb7a03b26 Mon Sep 17 00:00:00 2001 From: Jon Cinque Date: Wed, 4 Jan 2023 18:15:49 +0100 Subject: [PATCH] logger: Update to env_logger 0.9.3 --- Cargo.lock | 4 ++-- logger/Cargo.toml | 2 +- logger/src/lib.rs | 2 -- metrics/Cargo.toml | 2 +- 4 files changed, 4 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7299b5db56f7b6..a6f5bbb2434bb2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1516,9 +1516,9 @@ dependencies = [ [[package]] name = "env_logger" -version = "0.9.0" +version = "0.9.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b2cf0344971ee6c64c31be0d530793fba457d322dfec2810c453d0ef228f9c3" +checksum = "a12e6657c4c97ebab115a42dcee77225f7f482cdd841cf7088c657a42e9e00e7" dependencies = [ "atty", "humantime", diff --git a/logger/Cargo.toml b/logger/Cargo.toml index 7823bda055cd3c..1146356d497d1b 100644 --- a/logger/Cargo.toml +++ b/logger/Cargo.toml @@ -10,7 +10,7 @@ documentation = "https://docs.rs/solana-logger" edition = "2021" [dependencies] -env_logger = "0.9.0" +env_logger = "0.9.3" lazy_static = "1.4.0" log = "0.4.17" diff --git a/logger/src/lib.rs b/logger/src/lib.rs index 7977d816a14ba9..7b9ae30d881053 100644 --- a/logger/src/lib.rs +++ b/logger/src/lib.rs @@ -55,8 +55,6 @@ pub fn setup() { } // Configures file logging with a default filter if RUST_LOG is not set -// -// NOTE: This does not work at the moment, pending the resolution of https://github.com/env-logger-rs/env_logger/issues/208 pub fn setup_file_with_default(logfile: &str, filter: &str) { use std::fs::OpenOptions; let file = OpenOptions::new() diff --git a/metrics/Cargo.toml b/metrics/Cargo.toml index 6f3f6e531c4728..3e0422e705ea4c 100644 --- a/metrics/Cargo.toml +++ b/metrics/Cargo.toml @@ -18,7 +18,7 @@ reqwest = { version = "0.11.12", default-features = false, features = ["blocking solana-sdk = { path = "../sdk", version = "=1.15.0" } [dev-dependencies] -env_logger = "0.9.0" +env_logger = "0.9.3" rand = "0.7.0" serial_test = "0.9.0"