Skip to content

armgit / txtai

Public Imported from GitHub
0

💡 All-in-one AI framework for semantic search, LLM orchestration and language model workflows

Summarised comment lines to keep the code tidy

Azam Din11ab5ac8abe2
diff --git a/src/python/txtai/__init__.py b/src/python/txtai/__init__.py
index 4f5e942e..9c553a0e 100644
--- a/src/python/txtai/__init__.py
+++ b/src/python/txtai/__init__.py
@@ -4,11 +4,7 @@ Version string
import logging
-# Configure logging for the txtai package
-# We should use logging.basicConfig() here as it modifies the root logger. But
-# log handlers/formatters should only be tweaked in the application code. Ref:
-# - https://stackoverflow.com/a/27017068/19357935
-# - https://docs.python.org/3/howto/logging.html#configuring-logging-for-a-library
+# Configure logging per standard Python library recommendations
logger = logging.getLogger(__name__)
logger.addHandler(logging.NullHandler())