Browse Source

See Redmine 99040

Отключил логирование в файлы.
Vladimir Tomishinets 6 years ago
parent
commit
fa61da36ab
1 changed files with 3 additions and 1 deletions
  1. 3 1
      docker-entrypoint.sh

+ 3 - 1
docker-entrypoint.sh

@@ -9,5 +9,7 @@ if [ ! -z "${APPNET}" ]; then
      nslookup ${HOSTNAME}.${APPNET}
    done
 fi
-
+sed -i 's/      >> "$CATALINA_OUT" 2>\&1 "\&"/      "\&"/' /opt/tomcat8/bin/catalina.sh
+sed -i 's/touch "$CATALINA_OUT"/#touch "$CATALINA_OUT"/' /opt/tomcat8/bin/catalina.sh
+sed -i 's/.handlers = .*/.handlers = java.util.logging.ConsoleHandler/' /opt/tomcat8/conf/logging.properties
 exec "$@"