diff --git a/src/bin/detee-cli.rs b/src/bin/detee-cli.rs index 7b538c2..1346841 100644 --- a/src/bin/detee-cli.rs +++ b/src/bin/detee-cli.rs @@ -360,7 +360,7 @@ fn clap_cmd() -> Command { Arg::new("disk") .long("disk") .default_value("10") - .value_parser(clap::value_parser!(u32).range(5..500)) + .value_parser(clap::value_parser!(u32).range(5..4000)) .help("disk size in GiB") ) .arg( diff --git a/src/config.rs b/src/config.rs index 33f16e0..5c55c86 100644 --- a/src/config.rs +++ b/src/config.rs @@ -318,12 +318,12 @@ impl Config { "localhost" => ("https://localhost:31337".to_string(), "staging-brain".to_string()), "staging" => { let url = BRAIN_STAGING.to_string(); - log::info!("Using staging brain URL: {url}"); + log::debug!("Using staging brain URL: {url}"); (url, "staging-brain".to_string()) } _ => { let url = BRAIN_TESTING.to_string(); - log::info!("Using testnet brain URL: {url}"); + log::debug!("Using testnet brain URL: {url}"); (url, "testnet-brain".to_string()) } } diff --git a/src/snp/deploy.rs b/src/snp/deploy.rs index 6d83c0a..ead9bc5 100644 --- a/src/snp/deploy.rs +++ b/src/snp/deploy.rs @@ -212,7 +212,7 @@ impl Request { locked_nano: nanocredits, }; - debug!( + info!( "Node {} can offer the VM at {} nanocredits for {} hours. Spec: {} vCPUs, {} MiB mem, {} MiB disk.", node.ip, brain_req.locked_nano, self.hours, brain_req.vcpus, brain_req.memory_mib, brain_req.disk_size_mib ); diff --git a/src/snp/grpc.rs b/src/snp/grpc.rs index 9e32ebe..34e4849 100644 --- a/src/snp/grpc.rs +++ b/src/snp/grpc.rs @@ -94,7 +94,7 @@ impl crate::HumanOutput for VmNodeListResp { async fn client() -> Result, Error> { let default_brain_url = Config::get_brain_info().0; - info!("brain_url: {default_brain_url}"); + debug!("brain_url: {default_brain_url}"); Ok(BrainVmCliClient::new(Config::connect_brain_channel(default_brain_url).await?)) }