mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-08-20 03:58:13 -04:00
Demote / promote log messages to their appropriate level
This commit is contained in:
parent
7387884e6d
commit
bbbe5f7ae8
7 changed files with 25 additions and 22 deletions
|
@ -45,7 +45,7 @@ impl Seed {
|
|||
return Self::from_file(&file_path);
|
||||
}
|
||||
|
||||
tracing::info!("No seed file found, creating at: {}", file_path.display());
|
||||
tracing::debug!("No seed file found, creating at: {}", file_path.display());
|
||||
|
||||
let random_seed = Seed::random()?;
|
||||
random_seed.write_to(file_path.to_path_buf())?;
|
||||
|
@ -61,7 +61,7 @@ impl Seed {
|
|||
let contents = fs::read_to_string(file)?;
|
||||
let pem = pem::parse(contents)?;
|
||||
|
||||
tracing::info!("Read in seed from file: {}", file.display());
|
||||
tracing::trace!("Read in seed from {}", file.display());
|
||||
|
||||
Self::from_pem(pem)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue