diff --git a/.s2i/bin/run b/.s2i/bin/run index 052d426..d86092a 100755 --- a/.s2i/bin/run +++ b/.s2i/bin/run @@ -5,6 +5,6 @@ source /opt/app-root/etc/generate_container_user set -e # Default values are set here -export "LOG_LEVEL=${LOG_LEVEL:=debug}" +export "LOG_LEVEL=${LOG_LEVEL:=info}" exec nginx -g "daemon off;" -c "/opt/app-root/etc/nginx.conf" diff --git a/nginx.conf b/nginx.conf index d09ecfa..89a6c48 100644 --- a/nginx.conf +++ b/nginx.conf @@ -1,6 +1,6 @@ worker_processes 1; env $LOG_LEVEL; -error_log /dev/stdout ${LOG_LEVEL}; +error_log stderr ${LOG_LEVEL}; events { worker_connections 1024;