From 018e1d3e632d78106f27d11971075d98b1120c0f Mon Sep 17 00:00:00 2001 From: Disassembler Date: Fri, 8 Dec 2017 10:37:06 +0100 Subject: [PATCH] Reduce extraneous Sigmah logging --- sigmah.sh | 1 + sigmah/srv/sigmah/WEB-INF/classes/logback.xml | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 sigmah/srv/sigmah/WEB-INF/classes/logback.xml diff --git a/sigmah.sh b/sigmah.sh index b54ae9c..e16a141 100755 --- a/sigmah.sh +++ b/sigmah.sh @@ -25,6 +25,7 @@ mkdir -p /srv/sigmah/{files,archives} chown -R tomcat8:tomcat8 /srv/sigmah ln -s /srv/sigmah /var/lib/tomcat8/webapps/sigmah envsubst <${SOURCE_DIR}/srv/sigmah/WEB-INF/classes/META-INF/persistence.xml >/srv/sigmah/WEB-INF/classes/META-INF/persistence.xml +cp ${SOURCE_DIR}/srv/sigmah/WEB-INF/classes/logback.xml /srv/sigmah/WEB-INF/classes/logback.xml cp ${SOURCE_DIR}/srv/sigmah/WEB-INF/classes/sigmah.properties /srv/sigmah/WEB-INF/classes/sigmah.properties cp /srv/sigmah/sigmah/images/header/org-default-logo.png /srv/sigmah/files/logo.png diff --git a/sigmah/srv/sigmah/WEB-INF/classes/logback.xml b/sigmah/srv/sigmah/WEB-INF/classes/logback.xml new file mode 100644 index 0000000..4cf2012 --- /dev/null +++ b/sigmah/srv/sigmah/WEB-INF/classes/logback.xml @@ -0,0 +1,5 @@ + + + + +