Parcourir la source

Обновить 'docker-entrypoint.sh'

Vladimir Tomishinets il y a 6 ans
Parent
commit
17412e0c3d
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      docker-entrypoint.sh

+ 1 - 1
docker-entrypoint.sh

@@ -11,5 +11,5 @@ if [ ! -z "${APPNET}" ]; then
 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
+sed -i 's/\.handlers = 1catalina\.org\.apache\.juli\.AsyncFileHandler, java\.util\.logging\.ConsoleHandler/\.handlers = java\.util\.logging\.ConsoleHandler/' /opt/tomcat8/conf/logging.properties
 exec "$@"