Skip to content

Commit

Permalink
fix: remove tracing_subscriber in shuttle app (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
kentSarmiento committed Dec 27, 2023
1 parent 3583e98 commit 4aa1d6c
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 8 deletions.
1 change: 0 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion link-for-later-shuttle/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,3 @@ shuttle-runtime = "0.35.0"
shuttle-shared-db = { version = "0.35.0", features = ["mongodb"] }
tokio = { version = "1", features = ["macros"] }
tracing = { version = "0.1", features = ["log"] }
tracing-subscriber = { version = "0.3", default-features = false, features = ["fmt"] }
6 changes: 0 additions & 6 deletions link-for-later-shuttle/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,6 @@ use mongodb::Database;

#[shuttle_runtime::main]
async fn main(#[shuttle_shared_db::MongoDb] db: Database) -> shuttle_axum::ShuttleAxum {
tracing_subscriber::fmt()
.with_max_level(tracing::Level::DEBUG)
.with_target(false)
.without_time()
.init();

let app = link_for_later::app::new(link_for_later::DatabaseType::MongoDb(db));
Ok(app.into())
}

0 comments on commit 4aa1d6c

Please sign in to comment.