Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.
feat: remove dict config from logger (#3866)
cthomasda52b91011fd
diff --git a/letta/log.py b/letta/log.pyindex 864e81fd8..52acf3b06 100644--- a/letta/log.py+++ b/letta/log.py@@ -61,13 +61,15 @@ DEVELOPMENT_LOGGING = {},}+# Configure logging once at module initialization to avoid performance overhead+dictConfig(DEVELOPMENT_LOGGING)+def get_logger(name: Optional[str] = None) -> "logging.Logger":"""returns the project logger, scoped to a child name if providedArgs:name: will define a child logger"""- dictConfig(DEVELOPMENT_LOGGING)parent_logger = logging.getLogger("Letta")if name:return parent_logger.getChild(name)