Skip to content

Commit

Permalink
feat(standalone-runtime): initiates a tracing_subscriber at start (#…
Browse files Browse the repository at this point in the history
…175)

* feat(standalone-runtime): initiates a `tracing_subscriber` at start

Signed-off-by: Julien Loudet <julien.loudet@zettascale.tech>
  • Loading branch information
J-Loudet authored Feb 7, 2024
1 parent e5968b4 commit 6958b09
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions zenoh-flow-standalone-runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ async-std = { workspace = true }
clap = { workspace = true }
uhlc = { workspace = true }
serde = { workspace = true }
tracing = { workspace = true }
tracing-subscriber = { workspace = true }
zenoh-flow-commons = { workspace = true }
zenoh-flow-descriptors = { workspace = true }
zenoh-flow-records = { workspace = true }
Expand Down
1 change: 1 addition & 0 deletions zenoh-flow-standalone-runtime/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ struct Cli {

#[async_std::main]
async fn main() {
let _ = tracing_subscriber::fmt::try_init();
let cli = Cli::parse();

let extensions = match cli.extensions {
Expand Down

0 comments on commit 6958b09

Please sign in to comment.