diff --git a/coded-flows/coded_flows/utils/logging.py b/coded-flows/coded_flows/utils/logging.py index efe465f..6bc43c3 100644 --- a/coded-flows/coded_flows/utils/logging.py +++ b/coded-flows/coded_flows/utils/logging.py @@ -117,6 +117,9 @@ def __init__( self.logger = logging.getLogger(name) self.logger.setLevel(logging.DEBUG) # Set to DEBUG, handlers will filter + # Prevent propagation to root logger to avoid duplicate logs + self.logger.propagate = False + # Remove existing handlers to avoid duplicates self.logger.handlers.clear() diff --git a/coded-flows/pyproject.toml b/coded-flows/pyproject.toml index d4f61f8..3c6107d 100644 --- a/coded-flows/pyproject.toml +++ b/coded-flows/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "coded-flows" -version = "0.7.3" +version = "0.7.4" description = "Various utilities for Coded Flows" authors = ["COLOR CODED CODES "] readme = "README.md"