Suppress useless nginx error messages in gui 48/124648/1
authordanielhanrahan <daniel.hanrahan@est.tech>
Fri, 1 Oct 2021 12:03:48 +0000 (13:03 +0100)
committerdanielhanrahan <daniel.hanrahan@est.tech>
Fri, 1 Oct 2021 12:03:48 +0000 (13:03 +0100)
Log only warnings and higher in nginx error log

Issue-ID: POLICY-3683
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: Id283f34e46633105db7ddf12791c9eb895ee35af

packages/policy-gui-docker/src/main/docker/etc/nginx/nginx.conf

index aac9bb6..bb31a60 100644 (file)
@@ -1,6 +1,6 @@
 worker_processes  1;
 pid /var/run/nginx.pid;
-error_log /dev/stdout info;
+error_log /dev/stdout warn;
 events {
 }
 http {