mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
logging: Rename AdminZulipHandler to AdminNotifyHandler.
This name hasn't been right since f7f2ec0ac back in 2013; this handler
sends the log record to a queue, whose consumer will not only maybe
send a Zulip message but definitely send an email. I found this
pretty confusing when I first worked on this logging code and was
looking for how exception emails got sent; so now that I see exactly
what's actually happening here, fix it.
This commit is contained in:
@@ -1281,7 +1281,7 @@ LOGGING = {
|
||||
'handlers': {
|
||||
'zulip_admins': {
|
||||
'level': 'ERROR',
|
||||
'class': 'zerver.logging_handlers.AdminZulipHandler',
|
||||
'class': 'zerver.logging_handlers.AdminNotifyHandler',
|
||||
# For testing the handler delete the next line
|
||||
'filters': ['ZulipLimiter', 'require_debug_false', 'require_really_deployed'],
|
||||
'formatter': 'default'
|
||||
|
||||
Reference in New Issue
Block a user