diff --git a/services/backup/blob_client/src/get_client.rs b/services/backup/blob_client/src/get_client.rs --- a/services/backup/blob_client/src/get_client.rs +++ b/services/backup/blob_client/src/get_client.rs @@ -7,9 +7,11 @@ use crate::constants::{BLOB_ADDRESS, MPSC_CHANNEL_BUFFER_CAPACITY}; use crate::tools::{check_error, report_error}; +use env_logger; use lazy_static::lazy_static; use libc; use libc::c_char; +use log::info; use std::ffi::CStr; use std::sync::{Arc, Mutex}; use tokio::runtime::Runtime; @@ -24,7 +26,10 @@ lazy_static! { static ref CLIENT: Arc>> = Arc::new(Mutex::new(None)); - static ref RUNTIME: Runtime = Runtime::new().unwrap(); + static ref RUNTIME: Runtime = { + env_logger::init(); + Runtime::new().unwrap() + }; static ref ERROR_MESSAGES: Arc>> = Arc::new(Mutex::new(Vec::new())); }