diff --git a/Dockerfile b/Dockerfile index 7d66312a5..0e970db32 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,6 @@ # Prepare the base environment. -FROM python:3.10.12-slim-bookworm as builder_base_wastd +FROM python:3.10.12-slim-bullseye as builder_base_wastd +# NOTE: we're constrained to using the version(s) of Debian which the Microsoft ODBC driver supports. MAINTAINER asi@dbca.wa.gov.au LABEL org.opencontainers.image.source https://github.com/dbca-wa/wastd diff --git a/wastd/middleware.py b/wastd/middleware.py index 2cc2434ee..1d0231472 100644 --- a/wastd/middleware.py +++ b/wastd/middleware.py @@ -1,4 +1,7 @@ from django.http import HttpResponse, HttpResponseServerError +import logging + +LOGGER = logging.getLogger('turtles') class HealthCheckMiddleware(object):