[PATCH] Prevent Tomcat from logging to files

Wald Commits scm-commit at wald.intevation.org
Tue May 16 18:45:35 CEST 2023


# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1684255512 -7200
#      Tue May 16 18:45:12 2023 +0200
# Branch 3.2.x
# Node ID df61a569a289b42eeee614e88a29077720888a4f
# Parent  b5af33e5ce1e0e2d54d2eb90be71a41957ee272c
Prevent Tomcat from logging to files

diff -r b5af33e5ce1e -r df61a569a289 docker/Dockerfile.gwt-client
--- a/docker/Dockerfile.gwt-client	Fri Apr 28 12:37:06 2023 +0200
+++ b/docker/Dockerfile.gwt-client	Tue May 16 18:45:12 2023 +0200
@@ -10,6 +10,10 @@
 # Install prerequisites
 RUN yum -q -y install maven mercurial tomcat gnu-free-sans-fonts curl
 
+# Prevent Tomcat from logging to files
+# (JRE default is logging to System.err)
+RUN rm /etc/tomcat/logging.properties
+
 WORKDIR /opt/d4e
 ENV REPO_URL https://hg.wald.intevation.org/dive4elements/
 ENV BRANCH 3.2.x


More information about the Dive4Elements-commits mailing list