Skip to content

Commit

Permalink
tweak health check log level
Browse files Browse the repository at this point in the history
  • Loading branch information
Trisfald committed May 17, 2024
1 parent b9f01a6 commit c10249e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/health.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use axum::{extract::State, http::StatusCode, response::IntoResponse};
use sea_orm::{ConnectionTrait, DatabaseConnection, DbErr, ExecResult, Statement};
use tracing::{error, info};
use tracing::{debug, error};

use crate::server::ServerState;

Expand All @@ -17,7 +17,7 @@ pub(crate) async fn health_handler(state: State<ServerState>) -> impl IntoRespon
return StatusCode::INTERNAL_SERVER_ERROR;
}

info!("health check: success");
debug!("health check: success");
StatusCode::OK
}

Expand Down

0 comments on commit c10249e

Please sign in to comment.