krata: default log level is now info

This commit is contained in:
Alex Zenla
2024-03-23 04:31:35 +00:00
parent 6c0e14da6a
commit f679781545
6 changed files with 6 additions and 6 deletions

View File

@ -23,7 +23,7 @@ async fn list_recursive(client: &XsdClient, path: &str) -> Result<()> {
#[tokio::main]
async fn main() -> Result<()> {
env_logger::Builder::from_env(env_logger::Env::default().default_filter_or("warn")).init();
env_logger::Builder::from_env(env_logger::Env::default().default_filter_or("info")).init();
let client = XsdClient::open().await?;
loop {
list_recursive(&client, "/").await?;

View File

@ -4,7 +4,7 @@ use xenstore::XsdClient;
#[tokio::main]
async fn main() -> Result<()> {
env_logger::Builder::from_env(env_logger::Env::default().default_filter_or("warn")).init();
env_logger::Builder::from_env(env_logger::Env::default().default_filter_or("info")).init();
let path = args().nth(1).unwrap_or("/local/domain".to_string());
let client = XsdClient::open().await?;
let mut handle = client.watch(&path).await?;