Less configs to worry about

This commit is contained in:
Scott Idem
2023-06-13 17:11:35 -04:00
parent 37af3019c6
commit 37c346efd7
3 changed files with 4 additions and 2 deletions

View File

@@ -4,6 +4,8 @@ OSIT_ENV=development
# OSIT_ENV=production
# OSIT_ENV=testing
AE_LOG_LVL=warning # Python loglevel: warning, info, debug, etc
OSIT_WEB_HTTP_PORT=8080
OSIT_WEB_HTTPS_PORT=4443

View File

@@ -1,7 +1,7 @@
import os
# Gunicorn config variables
loglevel = "debug"
loglevel = os.getenv('AE_LOG_LVL', 'warning')
accesslog = "/logs/gunicorn_access.log" # "-" # stdout
errorlog = "/logs/gunicorn_error.log" # "-" # stderr

View File

@@ -1,7 +1,7 @@
import os
# Gunicorn config variables
loglevel = "debug"
loglevel = os.getenv('AE_LOG_LVL', 'warning')
# accesslog = "/logs/gunicorn_access.log" # "-" # stdout
errorlog = "/logs/gunicorn_error.log" # "-" # stderr