Skip to content

Log Level Configuration#282

Merged
julianstirling merged 10 commits intomainfrom
281-configurable-log-levels
Mar 5, 2026
Merged

Log Level Configuration#282
julianstirling merged 10 commits intomainfrom
281-configurable-log-levels

Conversation

@bprobert97
Copy link
Contributor

@bprobert97 bprobert97 commented Mar 4, 2026

Add --debug argument to CLI to make the THING LOGGER level configurable between debug and info. Unit test also added.

Closes #281

Tested on a microscope as part of https://gitlab.com/openflexure/openflexure-microscope-server/-/merge_requests/523

@bprobert97 bprobert97 linked an issue Mar 4, 2026 that may be closed by this pull request
@barecheck
Copy link

barecheck bot commented Mar 4, 2026

Barecheck - Code coverage report

Total: 96.35%

Your code coverage diff: 0.04% ▴

Uncovered files and lines
FileLines
src/labthings_fastapi/server/__init__.py185, 199-202, 363
src/labthings_fastapi/server/cli.py102, 184

@bprobert97 bprobert97 marked this pull request as draft March 4, 2026 16:52
@bprobert97 bprobert97 marked this pull request as ready for review March 4, 2026 18:18
@bprobert97 bprobert97 changed the title DRAFT: Log Level Configuration Log Level Configuration Mar 4, 2026
@julianstirling julianstirling force-pushed the 281-configurable-log-levels branch from 8fc3b7f to 049b6c2 Compare March 5, 2026 10:06
Copy link
Contributor

@julianstirling julianstirling left a comment

Choose a reason for hiding this comment

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

Thanks for this!

@julianstirling julianstirling merged commit 48c48b2 into main Mar 5, 2026
15 checks passed
@julianstirling julianstirling deleted the 281-configurable-log-levels branch March 5, 2026 11:20
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.

Configurable Log Levels

3 participants