From 1764076547e958f80ee9ffb28a7c99d42a2d3894 Mon Sep 17 00:00:00 2001 From: Min RK Date: Thu, 3 Mar 2022 10:37:20 +0100 Subject: [PATCH] self.log typo old habits... --- images/federation-redirect/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/federation-redirect/app.py b/images/federation-redirect/app.py index d262ff6fd..08e4cb8d6 100644 --- a/images/federation-redirect/app.py +++ b/images/federation-redirect/app.py @@ -193,7 +193,7 @@ def prepare(self): if not hosts: # no healthy hosts, allow routing to unhealthy 'prime' host only hosts = {key: host for key, host in CONFIG["hosts"].items() if host.get("prime")} - self.log.warning(f"Using unhealthy prime host(s) {list(hosts)} because zero hosts are healthy") + app_log.warning(f"Using unhealthy prime host(s) {list(hosts)} because zero hosts are healthy") self.host_names = [c["url"] for c in hosts.values() if c["weight"] > 0] self.host_weights = [c["weight"] for c in hosts.values() if c["weight"] > 0]