diff --git a/pxar-bin/src/main.rs b/pxar-bin/src/main.rs index 4b00f943..9d822eae 100644 --- a/pxar-bin/src/main.rs +++ b/pxar-bin/src/main.rs @@ -19,7 +19,7 @@ use pbs_client::pxar::{ use pxar::EntryKind; use proxmox_human_byte::HumanByte; -use proxmox_log::{debug, enabled, error, info, init_cli_logger, Level}; +use proxmox_log::{debug, enabled, error, init_cli_logger, Level}; use proxmox_router::cli::*; use proxmox_schema::api; @@ -557,11 +557,11 @@ fn dump_archive(archive: String, payload_input: Option) -> Result<(), Er _ => (), } - debug!("{}", format_single_line_entry(&entry)); + println!("{}", format_single_line_entry(&entry)); } else { match entry.kind() { EntryKind::Version(_) | EntryKind::Prelude(_) => continue, - _ => info!("{:?}", entry.path()), + _ => println!("{:?}", entry.path()), } } } diff --git a/pxar-bin/tests/pxar.rs b/pxar-bin/tests/pxar.rs index 23559bad..e15c2e64 100644 --- a/pxar-bin/tests/pxar.rs +++ b/pxar-bin/tests/pxar.rs @@ -215,5 +215,5 @@ fn pxar_list_with_payload_input() { \"/folder_9/file_9\" "; - assert_eq!(expected.as_bytes(), output.stderr); + assert_eq!(expected.as_bytes(), output.stdout); }