Skip to content

Commit

Permalink
Merge pull request micro-manager#768 from bruno-digitbio/main
Browse files Browse the repository at this point in the history
Do not set the root logger's level to DEBUG
henrypinkard authored Jun 6, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
2 parents 49e99d6 + 0c09757 commit e79a626
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pycromanager/logging.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import logging

logging.basicConfig(level=logging.DEBUG)
main_logger = _base_logger = logging.getLogger("pycromanager")

def set_logger_instance(logger_name: str) -> None:
@@ -14,4 +13,4 @@ def set_logger_instance(logger_name: str) -> None:

def reset_logger_instance() -> None:
""" Resets the logger to the default logger """
set_logger_instance(_base_logger.name)
set_logger_instance(_base_logger.name)

0 comments on commit e79a626

Please sign in to comment.