salvo-logging

Capture request metrics, trace spans, and error contexts for Salvo routes.

20|5|Updated Jan 11, 2026
One-click install
npx skills add https://github.com/salvo-rs/salvo-skills --skill salvo-logging
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: salvo-logging
Source: https://github.com/salvo-rs/salvo-skills/tree/main/skills/salvo-logging
Command: npx skills add https://github.com/salvo-rs/salvo-skills --skill salvo-logging

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This guidance enables developers to implement robust request logging, tracing, and observability for Salvo-based applications, improving debugging and production insight.

Core Features & Use Cases

  • Centralized request logging across routes
  • Tracing integration for end-to-end request spans
  • Production-grade observability with structured log output

Quick Start

Enable the Logger hoop in Salvo and initialize a tracer to begin collecting logs and traces.

Frequently Asked Questions about salvo-logging

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add request logging and tracing to a Salvo web application?

To add request logging and tracing to a Salvo application, enable the Logger hoop and initialize a tracer to capture request metrics, trace spans, and error contexts across routes.

What is the best way to get structured JSON logs from Rust Salvo routes in production?

The best way to get structured JSON logs from Salvo routes is to use production-grade observability features that support configurable log levels and structured output for capturing request data.

Does Salvo support integration with Rust tracing frameworks for end-to-end spans?

Yes, Salvo supports integration with Rust tracing frameworks to generate end-to-end request spans, capturing detailed trace contexts and error information across application routes.

Can I configure non-blocking logging for Salvo applications to prevent performance drops?

Yes, you can configure non-blocking logging for Salvo applications to capture request metrics and error contexts without degrading production performance during high traffic.

Why do I need observability and tracing middleware in my Rust web server?

You need observability and tracing middleware to improve debugging and production insight, allowing you to monitor request flows and diagnose errors across distributed application routes.