8000 feat: add --log-to-stdout for command by gaius-qi · Pull Request #1162 · dragonflyoss/client · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat: add --log-to-stdout for command #1162

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 27, 2025
Merged

feat: add --log-to-stdout for command #1162

merged 1 commit into from
May 27, 2025

Conversation

gaius-qi
Copy link
Member

Description

This pull request introduces a change in the logging mechanism across multiple components of the project. The key update replaces the --verbose flag with a new --log-to-stdout flag for enabling detailed logs. This change affects Dockerfiles, service files, documentation, and the logging initialization function.

Logging Flag Update:

  • ci/Dockerfile, ci/Dockerfile.debug, and ci/Dockerfile.dfinit: Updated the cargo build command to use the --log-to-stdout flag instead of --verbose for logging. [1] [2] [3]
  • ci/dfdaemon.service: Replaced the --verbose flag with --log-to-stdout in the ExecStart command for the dfdaemon service.

Documentation Updates:

Codebase Adjustment:

Related Issue

Motivation and Context

Screenshots (if appropriate)

Signed-off-by: Gaius <gaius.qi@gmail.com>
@gaius-qi gaius-qi added this to the v2.3.0 milestone May 27, 2025
@gaius-qi gaius-qi self-assigned this May 27, 2025
@gaius-qi gaius-qi added the enhancement New feature or request label May 27, 2025
@gaius-qi gaius-qi requested a review from a team as a code owner May 27, 2025 06:00
Copy link
codecov bot commented May 27, 2025

Codecov Report

Attention: Patch coverage is 5.00000% with 19 lines in your changes missing coverage. Please review.

Project coverage is 49.33%. Comparing base (de812d2) to head (8ec02f7).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
dragonfly-client-init/src/bin/main.rs 0.00% 3 Missing ⚠️
dragonfly-client/src/bin/dfcache/export.rs 0.00% 3 Missing ⚠️
dragonfly-client/src/bin/dfcache/import.rs 0.00% 3 Missing ⚠️
dragonfly-client/src/bin/dfcache/stat.rs 0.00% 3 Missing ⚠️
dragonfly-client/src/bin/dfdaemon/main.rs 0.00% 3 Missing ⚠️
dragonfly-client/src/bin/dfget/main.rs 33.33% 2 Missing ⚠️
dragonfly-client/src/tracing/mod.rs 0.00% 2 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1162   +/-   ##
=======================================
  Coverage   49.33%   49.33%           
=======================================
  Files          58       58           
  Lines       12114    12114           
=======================================
  Hits         5977     5977           
  Misses       6137     6137           
Files with missing lines Coverage Δ
dragonfly-client/src/bin/dfget/main.rs 25.09% <33.33%> (ø)
dragonfly-client/src/tracing/mod.rs 0.00% <0.00%> (ø)
dragonfly-client-init/src/bin/main.rs 0.00% <0.00%> (ø)
dragonfly-client/src/bin/dfcache/export.rs 0.00% <0.00%> (ø)
dragonfly-client/src/bin/dfcache/import.rs 0.00% <0.00%> (ø)
dragonfly-client/src/bin/dfcache/stat.rs 0.00% <0.00%> (ø)
dragonfly-client/src/bin/dfdaemon/main.rs 0.00% <0.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@gaius-qi gaius-qi merged commit 7b1cdbe into main May 27, 2025
9 checks passed
@gaius-qi gaius-qi deleted the feature/stdout branch May 27, 2025 06:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0