1
0
mirror of https://github.com/donaldzou/WGDashboard.git synced 2024-11-06 16:00:28 +01:00

Update gunicorn.conf.py

This commit is contained in:
Donald Zou 2024-08-04 20:22:41 -04:00
parent 201c8f9ec9
commit 3960e43872

View File

@ -12,10 +12,10 @@ bind = f"{app_host}:{app_port}"
daemon = True daemon = True
pidfile = './gunicorn.pid' pidfile = './gunicorn.pid'
wsgi_app = "dashboard:app" wsgi_app = "dashboard:app"
access_logfile = f"./log/access_{date}.log" access_log = f"./log/access_{date}.log"
log_level = "debug" log_level = "debug"
capture_output = True 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] 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] Access log file is at ./log/{access_log}", flush=True)
print(f"[WGDashboard] Error log file is at ./log/{error_logfile}", flush=True) print(f"[WGDashboard] Error log file is at ./log/{error_log}", flush=True)