feat: rename --log-to-stdout to --console #1163
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This pull request introduces changes to improve logging configuration and build processes across multiple components of the Dragonfly project. The key updates include replacing the
--log-to-stdout
option with--console
for logging, updating related documentation, and enhancing build commands for better verbosity.Logging Configuration Updates:
dragonfly-client/src/tracing/mod.rs
: Replaced thelog_to_stdout
parameter withconsole
in theinit_tracing
function, and updated the corresponding logic to determine the logging level. [1] [2]ci/dfdaemon.service
: Updated theExecStart
command to use the--console
flag instead of--log-to-stdout
.docs/performance-optimization.md
: Replaced--log-to-stdout
with--console
in the example command for runningdfdaemon
.dragonfly-client-backend/examples/plugin/README.md
: Updated the example command to use--console
instead of--log-to-stdout
.Build Process Enhancements:
ci/Dockerfile
,ci/Dockerfile.debug
,ci/Dockerfile.dfinit
: Updatedcargo build
commands to include the--verbose
flag for improved build output during image creation. [1] [2] [3]Related Issue
Motivation and Context
Screenshots (if appropriate)