Skip to content

Commit

Permalink
Do not set the root logger's level to DEBUG
Browse files Browse the repository at this point in the history
  • Loading branch information
bruno-digitbio committed Jun 4, 2024
1 parent 49e99d6 commit 0c09757
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:
Expand All @@ -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 0c09757

Please sign in to comment.