Skip to content

Update logging functionality to work with downstream applications#68

Merged
wfordh merged 1 commit into
masterfrom
switch_logger_to_warnings
Nov 1, 2025
Merged

Update logging functionality to work with downstream applications#68
wfordh merged 1 commit into
masterfrom
switch_logger_to_warnings

Conversation

@wfordh

@wfordh wfordh commented Oct 9, 2025

Copy link
Copy Markdown
Collaborator

The logging functionality was set up in a way that it did not work well with downstream applications that were also doing logging. After reviewing the documentation for logging (and warnings), it looks like using logger = logging.getLogger(__name__) is the Pythonic way to handle this and will allow the downstream apps to log at their desired level, too.

See order issue #66 for more discussion. I will take this PR off of draft mode once it is tested.

@AsteroidOrangeJuice

Copy link
Copy Markdown

Thanks for fixing this!

@wfordh
wfordh marked this pull request as ready for review October 15, 2025 04:12
@wfordh

wfordh commented Oct 15, 2025

Copy link
Copy Markdown
Collaborator Author

I was able to do some quick tests locally and the fix worked. @dtsong are you or someone else able to review?

@wfordh
wfordh requested a review from dtsong October 21, 2025 04:30
@wfordh
wfordh merged commit c8d333b into master Nov 1, 2025
3 checks passed
@wfordh wfordh mentioned this pull request Nov 2, 2025
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.

3 participants