From 5db4eb06ad085fc450d0159abdde999d06529de6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20Mass=C3=A9?= Date: Tue, 6 Feb 2018 18:15:16 +0100 Subject: [PATCH] fix log level --- .s2i/bin/run | 2 +- nginx.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;