Custom Axum Logging for Routes?

This page summarizes the projects mentioned and recommended in the original post on /r/rust

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • zero2prod

  • Based on my understanding of the docs for Tracing, it seems like I should either be able to use spans or events to log specific things as they happen, which seems like the way to do this custom logging here. Is there anything that I'm missing in my setup to make these logs appear? Thanks for any help! Link to full repo: https://github.com/hkwiseman/zero2prod

  • tracing

    Application level tracing for Rust.

  • tracing by itself only outputs log data, you need to consume them in a subscriber, the tracing-subscriber crate exists for this. (example)

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts