Skip to content

Commit

Permalink
Add not on tracing subscriber
Browse files Browse the repository at this point in the history
  • Loading branch information
rustworthy committed Jan 2, 2025
1 parent d8b0284 commit 1501e77
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions server/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,9 @@ async fn seed(backend: &mut Backend) -> Vec<Ulid> {
async fn main() -> Result<(), Error> {
tracing_subscriber::fmt()
.with_env_filter(EnvFilter::from_default_env())
// TODO: we may _not_ want `without_time` when deploying
// TODO: on non-Lambda runtimes; this can be addressed as
// TODO: part of https://github.com/jonhoo/wewerewondering/issues/202
.without_time(/* cloudwatch does that */).init();

#[cfg(not(debug_assertions))]
Expand Down

0 comments on commit 1501e77

Please sign in to comment.