Skip to content

Make logging level configurable - #99

Merged
tpoliaw merged 3 commits into
mainfrom
LOG_LEVELS
Aug 6, 2026
Merged

Make logging level configurable#99
tpoliaw merged 3 commits into
mainfrom
LOG_LEVELS

Conversation

@tpoliaw

@tpoliaw tpoliaw commented Dec 10, 2025

Copy link
Copy Markdown
Contributor

Read initial log level from config file if present. Once the server is
running the level can be changed via a POST request to /loglevel/{level}
where level is one of info, debug or trace.

@tpoliaw tpoliaw linked an issue Dec 10, 2025 that may be closed by this pull request
@codecov

codecov Bot commented Dec 10, 2025

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 68.75000% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 51.47%. Comparing base (e833842) to head (c4440c1).

Files with missing lines Patch % Lines
src/main.rs 0.00% 4 Missing ⚠️
src/config.rs 91.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #99      +/-   ##
==========================================
+ Coverage   50.63%   51.47%   +0.84%     
==========================================
  Files          13       13              
  Lines         632      643      +11     
==========================================
+ Hits          320      331      +11     
  Misses        312      312              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@tpoliaw
tpoliaw requested a review from a team as a code owner January 8, 2026 17:57
tpoliaw added 2 commits August 4, 2026 16:36
Read initial log level from config file if present. Once the server is
running the level can be changed via a POST request to /loglevel/{level}
where level is one of info, debug or trace.
level is still configurable via config
Pretty pointless but up the coverage
@tpoliaw
tpoliaw merged commit a6532c7 into main Aug 6, 2026
7 checks passed
@tpoliaw
tpoliaw deleted the LOG_LEVELS branch August 6, 2026 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make logging configurable

2 participants