From 3960e43872a17b1e7ca69e83cfb01d5268110b71 Mon Sep 17 00:00:00 2001 From: Donald Zou Date: Sun, 4 Aug 2024 20:22:41 -0400 Subject: [PATCH] Update gunicorn.conf.py --- src/gunicorn.conf.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gunicorn.conf.py b/src/gunicorn.conf.py index cb95fac..1e1997e 100644 --- a/src/gunicorn.conf.py +++ b/src/gunicorn.conf.py @@ -12,10 +12,10 @@ bind = f"{app_host}:{app_port}" daemon = True pidfile = './gunicorn.pid' wsgi_app = "dashboard:app" -access_logfile = f"./log/access_{date}.log" +access_log = f"./log/access_{date}.log" log_level = "debug" capture_output = True -error_logfile = f"./log/error_{date}.log" +error_log = f"./log/error_{date}.log" print(f"[WGDashboard] WGDashboard w/ Gunicorn will be running on {bind}", flush=True) -print(f"[WGDashboard] Access log file is at ./log/{access_logfile}", flush=True) -print(f"[WGDashboard] Error log file is at ./log/{error_logfile}", flush=True) +print(f"[WGDashboard] Access log file is at ./log/{access_log}", flush=True) +print(f"[WGDashboard] Error log file is at ./log/{error_log}", flush=True)