mirror of https://github.com/zulip/zulip.git
loggers: Set propagate False for zulip.slow_queries logger.
This will prevent it to propagating to root logger and causing flaky behavior in tests which verify logs by root logger using assertLogs.
This commit is contained in:
parent
e25365ee3e
commit
7bbba74d95
|
@ -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'],
|
||||
|
|
Loading…
Reference in New Issue