Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

loggers: Set propagate False for zulip.slow_queries logger.

Mohit Gupta7bbba74d9535
diff --git a/zproject/computed_settings.py b/zproject/computed_settings.py
index eb4771f5867..017fd1af445 100644
--- a/zproject/computed_settings.py
+++ b/zproject/computed_settings.py
@@ -927,6 +927,7 @@ LOGGING: Dict[str, Any] = {
'zulip.slow_queries': {
'level': 'INFO',
'handlers': ['slow_queries_file'],
+ 'propagate': False,
},
'zulip.soft_deactivation': {
'handlers': ['file', 'errors_file'],