[PATCH 2 of 2] Let client log to stdout
Wald Commits
scm-commit at wald.intevation.org
Tue Aug 30 15:05:38 CEST 2022
# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1661864530 -7200
# Tue Aug 30 15:02:10 2022 +0200
# Branch 3.2.x
# Node ID 1a1e627b14839fe80edd10154e76b7ef1064e3e9
# Parent 1632f64aba890f3d49d8613750d0699e943f4839
Let client log to stdout
diff -r 1632f64aba89 -r 1a1e627b1483 docker/README
--- a/docker/README Tue Aug 30 14:58:38 2022 +0200
+++ b/docker/README Tue Aug 30 15:02:10 2022 +0200
@@ -21,6 +21,5 @@
TODO:
_ Avoid having to change configuration manually
-_ Let all components log to stdout to enable useful usage of `docker logs'
_ Something better than setting framework and http-client to a branch
explicitly in the Dockerfiles
diff -r 1632f64aba89 -r 1a1e627b1483 gwt-client/src/main/resources/log4j2.xml
--- a/gwt-client/src/main/resources/log4j2.xml Tue Aug 30 14:58:38 2022 +0200
+++ b/gwt-client/src/main/resources/log4j2.xml Tue Aug 30 15:02:10 2022 +0200
@@ -1,18 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<Configuration>
<Appenders>
- <RollingFile
- name="RollingFile"
- fileName="/var/log/d4e-river/d4e-client.log"
- filePattern="/var/log/d4e-river/d4e-client.log.%i">
+ <Console name="Console" target="SYSTEM_OUT">
<PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5p %c{1} - %m%n"/>
- <SizeBasedTriggeringPolicy size="5000 KB"/>
- <DefaultRolloverStrategy max="3"/>
- </RollingFile>
+ </Console>
</Appenders>
<Loggers>
<Root level="DEBUG">
- <AppenderRef ref="RollingFile"/>
+ <AppenderRef ref="Console"/>
</Root>
<Logger name="org.apache.http" level="ERROR" additivity="false"/>
</Loggers>
More information about the Dive4Elements-commits
mailing list