diff options
author | Yun Huang <yun.huang@windriver.com> | 2018-05-04 14:38:31 +0800 |
---|---|---|
committer | Yun Huang <yun.huang@windriver.com> | 2018-05-04 14:38:31 +0800 |
commit | 3c13299e1f76c30dccb5509f0d2b30486f29a3ff (patch) | |
tree | fc2641d340204fba293fcb1c2f210dae26464d10 /newton/newton/settings.py | |
parent | c3eaf68ffe300fddc6829808439a0874e4b6223f (diff) |
Add logging AOP middleware for newton
Change-Id: Id3a69e23f6b5898630c2737d5bf60e1f5ebf1153
Issue-ID: MULTICLOUD-220
Signed-off-by: Yun Huang <yun.huang@windriver.com>
Diffstat (limited to 'newton/newton/settings.py')
-rw-r--r-- | newton/newton/settings.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/newton/newton/settings.py b/newton/newton/settings.py index a3fb9b41..2e004f1f 100644 --- a/newton/newton/settings.py +++ b/newton/newton/settings.py @@ -62,6 +62,7 @@ MIDDLEWARE_CLASSES = [ 'django.contrib.auth.middleware.SessionAuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', + 'newton.middleware.LogContextMiddleware', ] ROOT_URLCONF = 'newton.urls' |