new method of performance logging

This commit is contained in:
AlanCoding
2017-08-19 07:53:27 -04:00
committed by Matthew Jones
parent 4fd190e4c8
commit 9ee18d02c8
4 changed files with 45 additions and 2 deletions

View File

@@ -211,6 +211,7 @@ TEMPLATE_CONTEXT_PROCESSORS = ( # NOQA
)
MIDDLEWARE_CLASSES = ( # NOQA
'awx.main.middleware.TimingMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.locale.LocaleMiddleware',
'django.middleware.common.CommonMiddleware',
@@ -1134,4 +1135,8 @@ LOGGING = {
},
}
}
# Apply coloring to messages logged to the console
COLOR_LOGS = False
# Use middleware to get request statistics
AWX_REQUEST_PROFILE = False