Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Added Django request logging capabilities for mailman-web
Added the django-request-logging package to mailman-web to assist when
necessary with debugging by being able to easily log the requests
recevied by the mailman-web service.
skoranda committed Nov 11, 2019
1 parent f40e11e commit 070aff9
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions comanage-registry-mailman/web/Dockerfile
@@ -44,6 +44,7 @@ RUN apt-get update \
mysqlclient \
typing \
xapian-haystack \
django-request-logging \
&& adduser --system --no-create-home --group mailman

COPY django-mail-header /tmp/django-mail-header
1 change: 1 addition & 0 deletions comanage-registry-mailman/web/mailman-web/settings.py
@@ -117,6 +117,7 @@
'django.middleware.security.SecurityMiddleware',
'django_mailman3.middleware.TimezoneMiddleware',
'postorius.middleware.PostoriusMiddleware',
'request_logging.middleware.LoggingMiddleware',
)

# Use old-style Middleware class in Python 2 and released versions of

0 comments on commit 070aff9

Please sign in to comment.