diff --git a/dependencies/pom.xml b/dependencies/pom.xml index 2573f64023c..521f885ab7a 100644 --- a/dependencies/pom.xml +++ b/dependencies/pom.xml @@ -110,7 +110,7 @@ 1.9.10 1.6.0 1.6.0-beta12 - 2.21.1 + 2.25.2 2.6.2 2.10 1.15.2 diff --git a/logging/log4j/pom.xml b/logging/log4j/pom.xml index 01d43cce32d..5fcc066358d 100644 --- a/logging/log4j/pom.xml +++ b/logging/log4j/pom.xml @@ -56,6 +56,11 @@ org.apache.logging.log4j log4j-jpl + + org.apache.logging.log4j + log4j-core + test + org.junit.jupiter junit-jupiter-api diff --git a/logging/log4j/src/main/resources/META-INF/native-image/io.helidon.logging/helidon-logging-log4j/native-image.properties b/logging/log4j/src/main/resources/META-INF/native-image/io.helidon.logging/helidon-logging-log4j/native-image.properties index dc75e1bb098..dfd3625d3c2 100644 --- a/logging/log4j/src/main/resources/META-INF/native-image/io.helidon.logging/helidon-logging-log4j/native-image.properties +++ b/logging/log4j/src/main/resources/META-INF/native-image/io.helidon.logging/helidon-logging-log4j/native-image.properties @@ -1,5 +1,5 @@ # -# Copyright (c) 2020, 2022 Oracle and/or its affiliates. +# Copyright (c) 2020, 2025 Oracle and/or its affiliates. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -126,4 +126,20 @@ Args=-Dlog4j2.disable.jmx=true \ --initialize-at-build-time=org.apache.logging.log4j.jul.LogManager \ --initialize-at-build-time=org.apache.logging.log4j.jul.WrappedLogger \ --initialize-at-build-time=org.apache.logging.log4j.jul.LevelTranslator \ - --initialize-at-build-time=org.apache.logging.log4j.core.impl.ContextDataFactory + --initialize-at-build-time=org.apache.logging.log4j.core.impl.ContextDataFactory \ + --initialize-at-build-time=org.apache.logging.log4j.util.SystemPropertiesPropertySource \ + --initialize-at-build-time=org.apache.logging.log4j.util.EnvironmentPropertySource \ + --initialize-at-build-time=org.apache.logging.log4j.core.config.AppenderControlArraySet \ + --initialize-at-build-time=org.apache.logging.log4j.spi.StandardLevel \ + --initialize-at-build-time=org.apache.logging.log4j.status.StatusLogger$InstanceHolder \ + --initialize-at-build-time=org.apache.logging.log4j.core.async.ThreadNameCachingStrategy$2 \ + --initialize-at-build-time=org.apache.logging.log4j.status.StatusLogger$Config \ + --initialize-at-build-time=org.apache.logging.log4j.util.OsgiServiceLocator \ + --initialize-at-build-time=org.apache.logging.log4j.jpl.Log4jSystemLogger \ + --initialize-at-build-time=org.apache.logging.log4j.jpl.Log4jSystemLogger$1 \ + --initialize-at-build-time=org.apache.logging.log4j.core.util.ExecutorServices \ + --initialize-at-build-time=org.apache.logging.log4j.core.util.internal.SystemUtils \ + --initialize-at-build-time=org.apache.logging.log4j.util.PropertyFilePropertySource \ + --initialize-at-build-time=org.apache.logging.log4j.core.impl.Log4jProvider \ + --initialize-at-build-time=org.apache.logging.log4j.util.ProviderUtil \ + --initialize-at-build-time=org.apache.logging.log4j.core.async.ThreadNameCachingStrategy