I believe this is going to fail with the old middleware, as it doesn't provide a ``logger`` object in its config.