mirror of
https://github.com/moghtech/komodo.git
synced 2026-03-12 02:18:32 -05:00
startup log after logger init
This commit is contained in:
@@ -16,8 +16,6 @@ mod state;
|
||||
mod ws;
|
||||
|
||||
async fn app() -> anyhow::Result<()> {
|
||||
debug!("loading state");
|
||||
|
||||
let state = state::State::load().await?;
|
||||
|
||||
info!("version: v{}", env!("CARGO_PKG_VERSION"));
|
||||
|
||||
@@ -55,6 +55,8 @@ impl State {
|
||||
.init()
|
||||
.context("failed to configure logger")?;
|
||||
|
||||
debug!("loading state");
|
||||
|
||||
let state: Arc<State> = State {
|
||||
env,
|
||||
db: DbClient::new(&config).await?,
|
||||
|
||||
Reference in New Issue
Block a user