diff --git a/distributions/openhab/src/main/resources/bin/setenv b/distributions/openhab/src/main/resources/bin/setenv index 739aaf69ca..7fa5298c72 100755 --- a/distributions/openhab/src/main/resources/bin/setenv +++ b/distributions/openhab/src/main/resources/bin/setenv @@ -111,7 +111,8 @@ export JAVA_OPTS="${JAVA_OPTS} -Dnashorn.args=--no-deprecation-warning -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 eb750119fc..38fa6db3da 100644 --- a/distributions/openhab/src/main/resources/bin/setenv.bat +++ b/distributions/openhab/src/main/resources/bin/setenv.bat @@ -130,7 +130,8 @@ set JAVA_OPTS=%JAVA_OPTS% ^ -Dnashorn.args=--no-deprecation-warning ^ -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 ^