mirror of
https://github.com/ansible/awx.git
synced 2026-05-12 20:07:37 -02:30
improve readability of the honcho console logs in the dev environment
* colorize uwsgi and celery logs; DEBUG lines are green, WARN lines are yellow, ERROR lines (and tracebacks) are red * pretty-print fact callback receiver JSON * simplify the uwsgi log format so it's more legible
This commit is contained in:
@@ -917,9 +917,9 @@ LOGGING = {
|
||||
},
|
||||
'handlers': {
|
||||
'console': {
|
||||
'()': 'logging.StreamHandler',
|
||||
'level': 'DEBUG',
|
||||
'filters': ['require_debug_true_or_test'],
|
||||
'class': 'logging.StreamHandler',
|
||||
'formatter': 'simple',
|
||||
},
|
||||
'null': {
|
||||
@@ -1091,3 +1091,4 @@ LOGGING = {
|
||||
},
|
||||
}
|
||||
}
|
||||
COLOR_LOGS = False
|
||||
|
||||
Reference in New Issue
Block a user