From f9d7451fa2abad2195faecb5b2d7bf2ff108f277 Mon Sep 17 00:00:00 2001 From: teor Date: Sat, 23 Jul 2022 02:32:56 +1000 Subject: [PATCH] Fix up links in some tracing docs (#4748) Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> --- book/src/user/tracing.md | 2 +- zebrad/src/lib.rs | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/book/src/user/tracing.md b/book/src/user/tracing.md index 97d5b4e8..3bb65d1f 100644 --- a/book/src/user/tracing.md +++ b/book/src/user/tracing.md @@ -2,7 +2,7 @@ ## Dynamic Tracing -Zebra supports dynamic tracing, configured using the config's +Zebra supports dynamic tracing, configured using the config's [`TracingSection`][tracing_section] and an HTTP RPC endpoint. Activate this feature using the `filter-reload` compile-time feature, diff --git a/zebrad/src/lib.rs b/zebrad/src/lib.rs index c3fab383..07cd9884 100644 --- a/zebrad/src/lib.rs +++ b/zebrad/src/lib.rs @@ -72,14 +72,15 @@ //! Changing the traces that are collected: //! * `filter-reload`: dynamically reload tracing filters at runtime. //! * `error-debug`: enable extra debugging in release builds. -//! * `tokio-console`: enable tokio's `console-subscriber`. +//! * `tokio-console`: enable tokio's `console-subscriber` (needs [specific compiler flags]) //! * A set of features that [skip verbose tracing]. //! The default features ignore `debug` and `trace` logs in release builds. //! //! Read the [tracing](https://zebra.zfnd.org/user/tracing.html) section of the book //! for more details. //! -//! [ignore verbose tracing]: https://docs.rs/tracing/0.1.35/tracing/level_filters/index.html#compile-time-filters +//! [skip verbose tracing]: https://docs.rs/tracing/0.1.35/tracing/level_filters/index.html#compile-time-filters +//! [specific compiler flags]: https://zebra.zfnd.org/dev/tokio-console.html#setup //! //! ### Testing //!