Less configs to worry about
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user