Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
gurinderu committed Aug 2, 2023
1 parent 980371f commit 181688f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion crates/nox-tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,4 @@ base64 = { workspace = true }
tokio = { workspace = true }
log = { workspace = true }
tracing = { workspace = true }
dhat = "0.3.2"
dhat = "0.3.2"
2 changes: 2 additions & 0 deletions nox/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ use base64::{engine::general_purpose::STANDARD as base64, Engine};
use eyre::WrapErr;
use tokio::signal;
use tokio::sync::oneshot;
use tracing_subscriber::EnvFilter;
use tracing_subscriber::layer::SubscriberExt;
use tracing_subscriber::util::SubscriberInitExt;

Expand Down Expand Up @@ -95,6 +96,7 @@ fn main() -> eyre::Result<()> {
.expect("Could not make tokio runtime")
.block_on(async {
tracing_subscriber::registry()
.with(EnvFilter::from_default_env())
.with(log_layer(&config.log))
.with(tokio_console_layer(&config.console)?)
.with(tracing_layer(&config.tracing)?)
Expand Down

0 comments on commit 181688f

Please sign in to comment.