Rémi Bardon
Rémi Bardon
@tyranron `fmt_layer` is not a [`Layer`](https://docs.rs/tracing-subscriber/latest/tracing_subscriber/layer/trait.Layer.html), it's a [`Layered`](https://docs.rs/tracing-subscriber/latest/tracing_subscriber/layer/struct.Layered.html), which means it doesn't have the [`with_span_events`](https://docs.rs/tracing-subscriber/latest/tracing_subscriber/fmt/struct.Layer.html#method.with_span_events) function. Your library doesn't expose a way to access this function on the non-`Layered`...
@tyranron Oh yes sorry I was on my phone I tried to remember my previous explorations. Thank you for looking into it!
I’ve never had that problem with MUCs, while I had MUCs in favorites for a long time. It might be just for 1to1 chats
@tyranron I will have a look later today or tomorrow at the latest. Thank you for the proposal!
Ok so I had a try and it turns out one of the issues I had encountered is that `cucumber::tracing` uses `tracing::instrument` with level `ERROR`. This means logs are full...
I suppose I need to add ```rs .with_filter( tracing_subscriber::filter::Targets::new() .with_target("cucumber::tracing", tracing_subscriber::filter::LevelFilter::OFF), ) ``` to `fmt::layer()`, but I can't because you expect a `Layer` and `with_filter` returns a `Layered`. When I...
Here are some logs to make my explanation clearer (as a screenshot because colors are very useful in this case): ## Without filtering:  ##...
Here are the full logs, with color: - [`cucumber::tracing` not filtered](https://asciinema.org/a/b3T8ue4w2pFaBf3usJ3LMArxb): [](https://asciinema.org/a/b3T8ue4w2pFaBf3usJ3LMArxb) - [`cucumber::tracing` filtered out](https://asciinema.org/a/pkUupr7hpD8wcCdVndz9fD7ZY): [](https://asciinema.org/a/pkUupr7hpD8wcCdVndz9fD7ZY) > [!TIP] > You can re-run it in your terminal to scroll back...
Here is a MRE: Cargo.toml ```toml [package] name = "cucumber-rs-span-logging" version = "0.1.0" edition = "2021" publish = false authors = ["Rémi Bardon "] # See more keys and their...
@tyranron I forgot to ping you. I don't know if you have notifications on for non-mentionned comments so I just make sure. Sorry for the double notification if it's the...