diff --git a/services/spacegate/src/main.rs b/services/spacegate/src/main.rs index 535cdb160..64f4e67f2 100644 --- a/services/spacegate/src/main.rs +++ b/services/spacegate/src/main.rs @@ -1,10 +1,12 @@ use spacegate_lib::register_lib_filter; use tardis::basic::result::TardisResult; use tardis::{tokio, TardisFuns}; +use tardis::config::config_dto::{FrameworkConfig, LogConfig, TardisConfig}; #[tokio::main] async fn main() -> TardisResult<()> { TardisFuns::init_log()?; + TardisFuns::init_conf(TardisConfig::builder().fw(FrameworkConfig::builder().log(LogConfig::default()).build()).build()).await?; let namespaces = std::env::args().nth(1).map(Some).unwrap_or(None); register_lib_filter(); spacegate_kernel::startup(true, namespaces, None).await?;