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:
Greg Price
2017-11-30 14:06:21 -08:00
committed by Steve Howell
parent 73a834990b
commit b15231dfc2
4 changed files with 11 additions and 11 deletions

View File

@@ -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'