Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

Update logging for auto-generated SECRET_KEY (#11458)

FoolFu3c41159d264c
diff --git a/common/settings.py b/common/settings.py
index ac2b13e00e..9df0c0cd2d 100644
--- a/common/settings.py
+++ b/common/settings.py
@@ -139,7 +139,7 @@ def _get_or_create_secret_key():
import logging
new_key = secrets.token_hex(32)
- logging.warning(f"SECURITY WARNING: Using auto-generated SECRET_KEY. Generated key: {new_key}")
+ logging.warning("SECURITY WARNING: Using auto-generated SECRET_KEY.")
return new_key
class StorageFactory: