[PATCH] Set appropriate client log-file for demo installation

Wald Commits scm-commit at wald.intevation.org
Tue Mar 4 19:24:18 CET 2014


# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1393957450 -3600
# Node ID 507ce37ba6cdeceb5408bc6195a3d69bf3828e9e
# Parent  be4b378390158938345b43a8998192d0f28de0b0
Set appropriate client log-file for demo installation.

diff -r be4b37839015 -r 507ce37ba6cd contrib/make_flys_release/make_release.sh
--- a/contrib/make_flys_release/make_release.sh	Tue Mar 04 19:14:15 2014 +0100
+++ b/contrib/make_flys_release/make_release.sh	Tue Mar 04 19:24:10 2014 +0100
@@ -205,7 +205,7 @@
 sed -i -e "s at https://flys3-devel.bafg.de/wiki@${WIKI_URL}@g" \
     $FLYS_SOURCE_DIR/river/gwt-client/src/main/java/org/dive4elements/river/client/client/config.xml
 
-sed -i -e "s@/tmp/flys-client.log@${LOG_DIR}/client-${VERSION}.log at g" \
+sed -i -e "s@/var/log/d4e-river/d4e-client.log@${LOG_DIR}/client-${VERSION}.log at g" \
     $FLYS_SOURCE_DIR/river/gwt-client/src/main/webapp/WEB-INF/log4j.properties
 
 if [ -r "$FEATURES_XML" ]; then
diff -r be4b37839015 -r 507ce37ba6cd doc/INSTALL_DE
--- a/doc/INSTALL_DE	Tue Mar 04 19:14:15 2014 +0100
+++ b/doc/INSTALL_DE	Tue Mar 04 19:24:10 2014 +0100
@@ -140,16 +140,6 @@
 -------------------------
 #. Pfade in den log4j.properties anpassen
 
-    $ vi river/gwt-client/src/main/webapp/WEB-INF/log4j.properties
-
-    # Die Zeile
-
-    log4j.appender.FLYS.File=/tmp/flys-client.log
-
-    # ändern in:
-
-    log4j.appender.FLYS.File=/var/log/d4e-river/d4e-client.log
-
     $ vi river/artifacts/doc/conf/log4j.properties
 
     # Den Inhalt mit folgendem ersetzen:
diff -r be4b37839015 -r 507ce37ba6cd gwt-client/src/main/webapp/WEB-INF/log4j.properties
--- a/gwt-client/src/main/webapp/WEB-INF/log4j.properties	Tue Mar 04 19:14:15 2014 +0100
+++ b/gwt-client/src/main/webapp/WEB-INF/log4j.properties	Tue Mar 04 19:24:10 2014 +0100
@@ -13,6 +13,6 @@
 log4j.appender.FLYS.layout.ConversionPattern=%d [%t] %-5p %c - %m%n
 
 log4j.appender.FLYS=org.apache.log4j.RollingFileAppender
-log4j.appender.FLYS.File=/tmp/flys-client.log
+log4j.appender.FLYS.File=/var/log/d4e-river/d4e-client.log
 log4j.appender.FLYS.MaxFileSize=5000KB
 log4j.appender.FLYS.MaxBackupIndex=3


More information about the Dive4elements-commits mailing list