warn loudly if celerybeat encounters AMQP connection issues

related: https://github.com/ansible/awx/pull/4857
This commit is contained in:
Ryan Petrello 2019-10-01 09:32:22 -04:00
parent 80a17987ff
commit 27c4e35ee4
No known key found for this signature in database
GPG Key ID: F2AA5F2122351777

View File

@ -1103,6 +1103,10 @@ LOGGING = {
'handlers': ['console', 'file', 'tower_warnings'],
'level': 'WARNING',
},
'celery': { # for celerybeat connection warnings
'handlers': ['console', 'file', 'tower_warnings'],
'level': 'WARNING',
},
'kombu': {
'handlers': ['console', 'file', 'tower_warnings'],
'level': 'WARNING',