diff --git a/distributions/openhab/src/main/resources/bin/setenv b/distributions/openhab/src/main/resources/bin/setenv index 42574f573..0c2b68043 100755 --- a/distributions/openhab/src/main/resources/bin/setenv +++ b/distributions/openhab/src/main/resources/bin/setenv @@ -110,7 +110,8 @@ export JAVA_OPTS="${JAVA_OPTS} -Dorg.apache.cxf.osgi.http.transport.disable=true -Dorg.ops4j.pax.web.listening.addresses=${HTTP_ADDRESS} -Dorg.osgi.service.http.port=${HTTP_PORT} - -Dorg.osgi.service.http.port.secure=${HTTPS_PORT}" + -Dorg.osgi.service.http.port.secure=${HTTPS_PORT} + -Dlog4j2.formatMsgNoLookups=true" # # set JVM options diff --git a/distributions/openhab/src/main/resources/bin/setenv.bat b/distributions/openhab/src/main/resources/bin/setenv.bat index aea0e9484..8a07fcd45 100644 --- a/distributions/openhab/src/main/resources/bin/setenv.bat +++ b/distributions/openhab/src/main/resources/bin/setenv.bat @@ -127,7 +127,8 @@ set JAVA_OPTS=%JAVA_OPTS% ^ -Dorg.apache.cxf.osgi.http.transport.disable=true ^ -Dorg.ops4j.pax.web.listening.addresses=%HTTP_ADDRESS% ^ -Dorg.osgi.service.http.port=%HTTP_PORT% ^ - -Dorg.osgi.service.http.port.secure=%HTTPS_PORT% + -Dorg.osgi.service.http.port.secure=%HTTPS_PORT% ^ + -Dlog4j2.formatMsgNoLookups=true :: set jvm options set EXTRA_JAVA_OPTS=-XX:+UseG1GC ^