-
Notifications
You must be signed in to change notification settings - Fork 66
feat: Add --log-level
to tedge
and c8y-remote-access-plugin
#3254
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
Conversation
crates/core/tedge/src/main.rs
Outdated
tedge_config::TEdgeConfigLocation::from_custom_root(&config_dir); | ||
|
||
log_init( | ||
"tedge-mapper", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know what this argument does, but it looks like a copy and paste error
@@ -40,6 +41,13 @@ pub async fn run(opt: C8yRemoteAccessPluginOpt) -> miette::Result<()> { | |||
.into_diagnostic() | |||
.context("Reading tedge config")?; | |||
|
|||
log_init( | |||
"tedge-mapper", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same remark as above
Codecov ReportAttention: Patch coverage is
Additional details and impacted files📢 Thoughts on this report? Let us know! |
Robot Results
|
71c9968
to
fa1a97b
Compare
Signed-off-by: Marcel Guzik <marcel.guzik@inetum.com>
Signed-off-by: Marcel Guzik <marcel.guzik@inetum.com>
fa1a97b
to
5dd8966
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved
--log-level
to tedge
and c8y-remote-access-plugin
--log-level
to tedge
and c8y-remote-access-plugin
Proposed changes
Adds
--log-level
flag to previously missedtedge
andc8y-remote-access-plugin
components.Together with #3205, the flag is present in these top-level components:
Types of changes
Paste Link to the issue
#2089
Checklist
cargo fmt
as mentioned in CODING_GUIDELINEScargo clippy
as mentioned in CODING_GUIDELINESFurther comments