Skip to content

feat: Add --log-level to tedge and c8y-remote-access-plugin#3254

Merged
Bravo555 merged 2 commits intothin-edge:mainfrom
Bravo555:feat/2089/all-components
Nov 19, 2024
Merged

feat: Add --log-level to tedge and c8y-remote-access-plugin#3254
Bravo555 merged 2 commits intothin-edge:mainfrom
Bravo555:feat/2089/all-components

Conversation

@Bravo555
Copy link
Copy Markdown
Member

Proposed changes

Adds --log-level flag to previously missed tedge and c8y-remote-access-plugin components.

Together with #3205, the flag is present in these top-level components:

  • tedge
  • tedge-mapper
  • tedge-agent
  • tedge-watchdog
  • c8y-firmware-plugin
  • c8y-remote-access-plugin

Types of changes

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Improvement (general improvements like code refactoring that doesn't explicitly fix a bug or add any new functionality)
  • Documentation Update (if none of the other choices apply)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Paste Link to the issue

#2089

Checklist

  • I have read the CONTRIBUTING doc
  • I have signed the CLA (in all commits with git commit -s)
  • I ran cargo fmt as mentioned in CODING_GUIDELINES
  • I used cargo clippy as mentioned in CODING_GUIDELINES
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

Further comments

tedge_config::TEdgeConfigLocation::from_custom_root(&config_dir);

log_init(
"tedge-mapper",
Copy link
Copy Markdown
Contributor

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

.context("Reading tedge config")?;

log_init(
"tedge-mapper",
Copy link
Copy Markdown
Contributor

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
Copy link
Copy Markdown

codecov bot commented Nov 18, 2024

Codecov Report

Attention: Patch coverage is 61.11111% with 7 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
plugins/c8y_remote_access_plugin/src/lib.rs 0.00% 6 Missing ⚠️
crates/core/tedge/src/main.rs 91.66% 0 Missing and 1 partial ⚠️
Additional details and impacted files

📢 Thoughts on this report? Let us know!

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Nov 18, 2024

Robot Results

✅ Passed ❌ Failed ⏭️ Skipped Total Pass % ⏱️ Duration
524 0 2 524 100 1h30m44.488723999s

Signed-off-by: Marcel Guzik <marcel.guzik@inetum.com>
Signed-off-by: Marcel Guzik <marcel.guzik@inetum.com>
Copy link
Copy Markdown
Contributor

@didier-wenzek didier-wenzek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

@Bravo555 Bravo555 added this pull request to the merge queue Nov 19, 2024
Merged via the queue into thin-edge:main with commit 14a8bda Nov 19, 2024
@reubenmiller reubenmiller added this to the 1.4.0 milestone Dec 5, 2024
@reubenmiller reubenmiller changed the title Add --log-level to tedge and c8y-remote-access-plugin feat: Add --log-level to tedge and c8y-remote-access-plugin Dec 16, 2024
@reubenmiller reubenmiller added theme:troubleshooting Theme: Troubleshooting and remote control theme:cli Theme: cli related topics and removed theme:troubleshooting Theme: Troubleshooting and remote control labels Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

theme:cli Theme: cli related topics theme:troubleshooting Theme: Troubleshooting and remote control

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants