mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	Remove old email error reporting handler
Broken out into an independent commit for easy revert if necessary. (imported from commit d83619c431a0e656f2e644d1eccb156a63c2169c)
This commit is contained in:
		@@ -645,16 +645,6 @@ LOGGING = {
 | 
			
		||||
            'interval':    7,
 | 
			
		||||
            'backupCount': 100000000,
 | 
			
		||||
        },
 | 
			
		||||
        # Django has some hardcoded code to add the
 | 
			
		||||
        # require_debug_false filter to the mail_admins handler if no
 | 
			
		||||
        # filters are specified.  So for testing, one is recommended
 | 
			
		||||
        # to replace the list of filters for mail_admins with 'nop'.
 | 
			
		||||
        'mail_admins': {
 | 
			
		||||
            'level': 'ERROR',
 | 
			
		||||
            'class': 'zerver.handlers.ZulipAdminEmailHandler',
 | 
			
		||||
            # For testing the handler replace the filters list with just 'nop'
 | 
			
		||||
            'filters': ['EmailLimiter', 'require_debug_false', 'require_really_deployed'],
 | 
			
		||||
        },
 | 
			
		||||
    },
 | 
			
		||||
    'loggers': {
 | 
			
		||||
        '': {
 | 
			
		||||
@@ -663,7 +653,7 @@ LOGGING = {
 | 
			
		||||
            'propagate': False,
 | 
			
		||||
        },
 | 
			
		||||
        'django': {
 | 
			
		||||
            'handlers': ['zulip_admins', 'console', 'file', 'mail_admins'],
 | 
			
		||||
            'handlers': ['zulip_admins', 'console', 'file'],
 | 
			
		||||
            'level':    'INFO',
 | 
			
		||||
            'propagate': False,
 | 
			
		||||
        },
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user