Mercurial > dive4elements > river
changeset 7782:507ce37ba6cd
Set appropriate client log-file for demo installation.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Tue, 04 Mar 2014 19:24:10 +0100 |
parents | be4b37839015 |
children | e55119cbdc19 |
files | contrib/make_flys_release/make_release.sh doc/INSTALL_DE gwt-client/src/main/webapp/WEB-INF/log4j.properties |
diffstat | 3 files changed, 2 insertions(+), 12 deletions(-) [+] |
line wrap: on
line diff
--- 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@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@g" \ +sed -i -e "s@/var/log/d4e-river/d4e-client.log@${LOG_DIR}/client-${VERSION}.log@g" \ $FLYS_SOURCE_DIR/river/gwt-client/src/main/webapp/WEB-INF/log4j.properties if [ -r "$FEATURES_XML" ]; then
--- 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:
--- 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