diff --git a/crates/injected/src/lib.rs b/crates/injected/src/lib.rs index 8f7e06e23..95ec61959 100644 --- a/crates/injected/src/lib.rs +++ b/crates/injected/src/lib.rs @@ -54,7 +54,7 @@ unsafe fn attach_stdout(pid: u32) { AttachConsole(pid); SetConsoleCtrlHandler(Some(ctrl_handler), 1); env_logger::Builder::new() - .filter(None, log::LevelFilter::Debug) + .filter(None, log::LevelFilter::Info) .init(); } diff --git a/crates/injected/src/models.rs b/crates/injected/src/models.rs index 477131d5f..5ef8bd58f 100644 --- a/crates/injected/src/models.rs +++ b/crates/injected/src/models.rs @@ -157,7 +157,7 @@ impl Layer { std::mem::transmute(self.ptr_load_item); if !s { let addr: usize = load_item(self.pointer, id, x, y); - log::info!("Spawned {:x?}", addr); + log::debug!("Spawned {:x?}", addr); Entity { pointer: addr } } else { let memory = Memory::new(); @@ -166,7 +166,7 @@ impl Layer { let rx = cx + 10.0 * x; let ry = cy + 5.625 * y; let addr: usize = load_item(self.pointer, id, rx, ry); - log::info!("Spawned {:x?}", addr); + log::debug!("Spawned {:x?}", addr); Entity { pointer: addr } } }