Closed glihm closed 1 month ago
Ohayo, sensei! The recent changes involve updates to the Cargo.toml
file, enhancing dependency management by upgrading the tracing
crate and introducing tracing-log
. The logging configurations in the bin/saya
, bin/sozo
, and bin/katana
projects have been refined to adjust log verbosity and integrate the LogTracer
, improving the overall logging infrastructure. These modifications collectively aim to streamline logging practices across the projects.
Files | Change Summary |
---|---|
Cargo.toml |
Updated tracing from 0.1.34 to 0.1.38 with features and added tracing-log as a new dependency. Adjusted workspace declarations for tracing-log in bin/sozo , bin/saya , and bin/katana . |
bin/saya/src/args/mod.rs |
Modified init_logging method to change logging filter and added LogTracer::init() for logging initialization. |
bin/sozo/src/args.rs |
Updated init_logging to include salsa=off in logging configuration and transitioned to using FmtSubscriber . |
bin/katana/src/cli/node.rs |
Added LogTracer::init() to initialize logging infrastructure in NodeArgs . |
sequenceDiagram
participant User
participant SayaArgs
participant SozoArgs
participant NodeArgs
participant LogTracer
User->>SayaArgs: Initialize logging
SayaArgs->>LogTracer: LogTracer::init()
LogTracer-->>SayaArgs: Logging initialized
SayaArgs->>SayaArgs: Set logging filter
User->>SozoArgs: Initialize logging
SozoArgs->>LogTracer: LogTracer::init()
LogTracer-->>SozoArgs: Logging initialized
SozoArgs->>SozoArgs: Set logging filter
User->>NodeArgs: Initialize logging
NodeArgs->>LogTracer: LogTracer::init()
LogTracer-->>NodeArgs: Logging initialized
NodeArgs->>NodeArgs: Set logging filter
Attention: Patch coverage is 66.66667%
with 4 lines
in your changes missing coverage. Please review.
Project coverage is 68.45%. Comparing base (
8453b63
) to head (8eaa1c2
). Report is 3 commits behind head on main.
Files with missing lines | Patch % | Lines |
---|---|---|
bin/saya/src/args/mod.rs | 0.00% | 3 Missing :warning: |
bin/katana/src/cli/node.rs | 0.00% | 1 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Summary by CodeRabbit