Skip to content

Commit

Permalink
fix: load from RUST_LOG
Browse files Browse the repository at this point in the history
  • Loading branch information
de-sh committed Nov 21, 2024
1 parent f4ef23a commit 8b3135c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ use std::sync::Arc;

use handlers::http::modal::ParseableServer;
use option::{Mode, CONFIG};
use tracing_subscriber::EnvFilter;

use crate::handlers::http::modal::{
ingest_server::IngestServer, query_server::QueryServer, server::Server,
Expand All @@ -57,6 +58,7 @@ pub const STORAGE_UPLOAD_INTERVAL: u32 = 60;
#[actix_web::main]
async fn main() -> anyhow::Result<()> {
tracing_subscriber::fmt()
.with_env_filter(EnvFilter::from_default_env())
.with_target(false)
.compact()
.init();
Expand Down

0 comments on commit 8b3135c

Please sign in to comment.