From 8c0f46868458873a020f8b0af81d5383f2aeac6a Mon Sep 17 00:00:00 2001
From: Leonidas Spyropoulos <artafinde@archlinux.org>
Date: Tue, 1 Nov 2022 20:14:24 +0000
Subject: [PATCH] aurweb: use specific prod logging on gunicorn

Signed-off-by: Leonidas Spyropoulos <artafinde@archlinux.org>
---
 roles/aurweb/templates/aurweb.service.j2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/roles/aurweb/templates/aurweb.service.j2 b/roles/aurweb/templates/aurweb.service.j2
index 71fe5e9ac..15d79247a 100644
--- a/roles/aurweb/templates/aurweb.service.j2
+++ b/roles/aurweb/templates/aurweb.service.j2
@@ -8,7 +8,7 @@ User={{ aurweb_user }}
 WorkingDirectory={{ aurweb_dir }}
 LimitNOFILE=2048
 ExecStart=/usr/bin/poetry run gunicorn \
-    --log-config {{ aurweb_dir }}/logging.conf \
+    --log-config {{ aurweb_dir }}/logging.prod.conf \
     --bind {{ aurweb_asgi_bind }} \
     --workers {{ aurweb_workers }} \
     -k uvicorn.workers.UvicornWorker \
-- 
GitLab