qemu-rdw: add some setup tracing

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
Marc-André Lureau 2022-10-20 12:18:17 +04:00
parent 18f887f111
commit 817d44e17a
2 changed files with 5 additions and 0 deletions

View File

@ -20,3 +20,4 @@ futures-util = "0.3"
futures = "0.3"
async-trait = "0.1"
uds_windows = "1.0.2"
tracing-subscriber = { version = "0.3.11", features = ["env-filter" , "fmt"], default-features = false }

View File

@ -295,6 +295,10 @@ impl App {
fn main() {
pretty_env_logger::init();
tracing_subscriber::fmt::init();
unsafe {
rdw::setup_logger(log::logger(), log::max_level()).unwrap();
}
let app = App::new();
app.run();