Reduce extraneous Sigmah logging

This commit is contained in:
Disassembler 2017-12-08 10:37:06 +01:00
parent 588ec0497e
commit 018e1d3e63
2 changed files with 6 additions and 0 deletions

View File

@ -25,6 +25,7 @@ mkdir -p /srv/sigmah/{files,archives}
chown -R tomcat8:tomcat8 /srv/sigmah chown -R tomcat8:tomcat8 /srv/sigmah
ln -s /srv/sigmah /var/lib/tomcat8/webapps/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 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 ${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 cp /srv/sigmah/sigmah/images/header/org-default-logo.png /srv/sigmah/files/logo.png

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<configuration scan="true" scanPeriod="60 seconds">
<logger name="org.sigmah" level="ERROR" />
</configuration>