mirror of https://github.com/zulip/zulip.git
settings: Fix duplicate logging from zulip.auth logger.
The logger defines a full list of handlers, meaning propagate=False is needed, to avoid the log line propagating further up the logging tree and getting logged multiple times by the duplicated handlers.
This commit is contained in:
parent
dc90d54b08
commit
90f3882512
|
@ -899,7 +899,8 @@ LOGGING: Dict[str, Any] = {
|
|||
},
|
||||
'zulip.auth': {
|
||||
'level': 'DEBUG',
|
||||
'handlers': DEFAULT_ZULIP_HANDLERS + ['auth_file']
|
||||
'handlers': DEFAULT_ZULIP_HANDLERS + ['auth_file'],
|
||||
'propagate': False,
|
||||
},
|
||||
'zulip.ldap': {
|
||||
'level': 'DEBUG',
|
||||
|
|
Loading…
Reference in New Issue