mirror of
https://github.com/ansible/awx.git
synced 2026-05-14 04:47:44 -02:30
better broadcast websocket logging
* Make quiter the daphne logs by raising the level to INFO instead of DEBUG * Output the django channels name of broadcast clients. This way, if the queue gets backed up, we can find it in redis.
This commit is contained in:
@@ -1106,9 +1106,9 @@ LOGGING = {
|
||||
'handlers': ['console', 'file', 'tower_warnings'],
|
||||
'level': 'WARNING',
|
||||
},
|
||||
'celery': { # for celerybeat connection warnings
|
||||
'daphne': {
|
||||
'handlers': ['console', 'file', 'tower_warnings'],
|
||||
'level': 'WARNING',
|
||||
'level': 'INFO',
|
||||
},
|
||||
'rest_framework.request': {
|
||||
'handlers': ['console', 'file', 'tower_warnings'],
|
||||
@@ -1139,6 +1139,10 @@ LOGGING = {
|
||||
'awx.main.dispatch': {
|
||||
'handlers': ['dispatcher'],
|
||||
},
|
||||
'awx.main.consumers': {
|
||||
'handlers': ['console', 'file', 'tower_warnings'],
|
||||
'level': 'INFO',
|
||||
},
|
||||
'awx.main.wsbroadcast': {
|
||||
'handlers': ['wsbroadcast'],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user