Reduce log level and improve workspace mismatch message clarity

• Change warning to info level
• Simplify workspace mismatch wording
This commit is contained in:
yangdx
2025-11-18 08:25:21 +08:00
parent fc9f7c705e
commit 6cef8df159

View File

@@ -665,9 +665,9 @@ class LightRAG:
if default_workspace is None:
set_default_workspace(self.workspace)
elif default_workspace != self.workspace:
logger.warning(
logger.info(
f"Creating LightRAG instance with workspace='{self.workspace}' "
f"but default workspace is already set to '{default_workspace}'."
f"while default workspace is set to '{default_workspace}'"
)
# Auto-initialize pipeline_status for this workspace