From 2caf241285cdce31bae71dc00145241600672d81 Mon Sep 17 00:00:00 2001 From: Larko <59736843+Larkooo@users.noreply.github.com> Date: Tue, 14 Jan 2025 22:40:10 +0700 Subject: [PATCH] refactor: log targets not snakecase (#2904) --- crates/torii/runner/src/lib.rs | 2 +- crates/torii/sqlite/src/executor/mod.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/torii/runner/src/lib.rs b/crates/torii/runner/src/lib.rs index bfc763e4f6..f45e73cd2b 100644 --- a/crates/torii/runner/src/lib.rs +++ b/crates/torii/runner/src/lib.rs @@ -43,7 +43,7 @@ use tracing::{error, info}; use tracing_subscriber::{fmt, EnvFilter}; use url::form_urlencoded; -pub(crate) const LOG_TARGET: &str = "torii_runner"; +pub(crate) const LOG_TARGET: &str = "torii:runner"; #[derive(Debug, Clone)] pub struct Runner { diff --git a/crates/torii/sqlite/src/executor/mod.rs b/crates/torii/sqlite/src/executor/mod.rs index 0b0c19b6ff..303e7291a1 100644 --- a/crates/torii/sqlite/src/executor/mod.rs +++ b/crates/torii/sqlite/src/executor/mod.rs @@ -30,7 +30,7 @@ use crate::utils::{felt_to_sql_string, I256}; pub mod erc; pub use erc::{RegisterErc20TokenQuery, RegisterErc721TokenMetadata, RegisterErc721TokenQuery}; -pub(crate) const LOG_TARGET: &str = "torii_sqlite::executor"; +pub(crate) const LOG_TARGET: &str = "torii::sqlite::executor"; #[derive(Debug, Clone)] pub enum Argument {