Browse Source

chore: remove config logging

thesimplekid 8 months ago
parent
commit
430931aced
1 changed files with 1 additions and 4 deletions
  1. 1 4
      crates/cdk-mintd/src/config.rs

+ 1 - 4
crates/cdk-mintd/src/config.rs

@@ -4,7 +4,6 @@ use cdk::nuts::PublicKey;
 use cdk::Amount;
 use config::{Config, ConfigError, File};
 use serde::{Deserialize, Serialize};
-use tracing::{debug, warn};
 
 #[derive(Debug, Clone, Serialize, Deserialize, Default)]
 pub struct Info {
@@ -83,7 +82,7 @@ impl Settings {
         match from_file {
             Ok(f) => f,
             Err(e) => {
-                warn!("Error reading config file ({:?})", e);
+                tracing::warn!("Error reading config file ({:?})", e);
                 default_settings
             }
         }
@@ -111,8 +110,6 @@ impl Settings {
             .build()?;
         let settings: Settings = config.try_deserialize()?;
 
-        debug!("{settings:?}");
-
         match settings.ln.ln_backend {
             LnBackend::Cln => assert!(settings.ln.cln_path.is_some()),
             //LnBackend::Greenlight => (),