env log
This commit is contained in:
@@ -594,9 +594,9 @@ fn full<T: Into<Bytes>>(chunk: T) -> BoxBody<Bytes, hyper::Error> {
|
|||||||
.boxed()
|
.boxed()
|
||||||
}
|
}
|
||||||
fn parse_env(cfg: &Arc<Mutex<MyConfig>>) {
|
fn parse_env(cfg: &Arc<Mutex<MyConfig>>) {
|
||||||
for (key, value) in std::env::vars() {
|
//for (key, value) in std::env::vars() {
|
||||||
debug!("ENVIRONMENT {key}: {value}");
|
// debug!("ENVIRONMENT {key}: {value}");
|
||||||
}
|
//}
|
||||||
let mut cfg_lock = cfg.lock().unwrap();
|
let mut cfg_lock = cfg.lock().unwrap();
|
||||||
if let Ok(value) = env::var("BAL_SERVER_DB_FILE") {
|
if let Ok(value) = env::var("BAL_SERVER_DB_FILE") {
|
||||||
debug!("BAL_SERVER_DB_FILE: {}", value);
|
debug!("BAL_SERVER_DB_FILE: {}", value);
|
||||||
|
|||||||
Reference in New Issue
Block a user