mirror of
https://github.com/ansible/awx.git
synced 2026-03-21 10:57:36 -02:30
new method of performance logging
This commit is contained in:
committed by
Matthew Jones
parent
4fd190e4c8
commit
9ee18d02c8
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user