From b140194fcec6d559109f0ef3f0e37fe18b91236c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Richard=20Op=C3=A1lka?= Date: Wed, 21 Feb 2024 20:47:05 +0100 Subject: [PATCH] [WFCORE-6710] Upgrade JBoss Modules to 2.1.3.Final --- .../wildfly/core/embedded/LoggerContext.java | 22 +++++++++++++++++++ pom.xml | 2 +- 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/embedded/src/main/java/org/wildfly/core/embedded/LoggerContext.java b/embedded/src/main/java/org/wildfly/core/embedded/LoggerContext.java index f683ca11195..f58c1768574 100644 --- a/embedded/src/main/java/org/wildfly/core/embedded/LoggerContext.java +++ b/embedded/src/main/java/org/wildfly/core/embedded/LoggerContext.java @@ -7,6 +7,7 @@ import static org.jboss.logging.Logger.Level.WARN; +import java.io.File; import java.security.AccessController; import java.security.PrivilegedAction; @@ -220,5 +221,26 @@ public void classDefined(final String name, final Module module) { defineLogger.tracef("Defined class %s in %s", name, module); } } + + @Override + public void overlaysDirectoryNotReadable(final File file) { + if (logger.isEnabled(WARN)) { + logger.warnf("Overlays directory exists but is not readable: %s", file.getPath()); + } + } + + @Override + public void overlaysMetadataNotReadable(final File file) { + if (logger.isEnabled(WARN)) { + logger.warnf("Overlays metadata file exists but is not readable: %s", file.getPath()); + } + } + + @Override + public void overlayRootNotReadable(final File file) { + if (logger.isEnabled(WARN)) { + logger.warnf("Overlay root directory doesn't exists or is not readable: %s", file.getPath()); + } + } } } diff --git a/pom.xml b/pom.xml index ab3c788e85a..21fcc2c2a44 100644 --- a/pom.xml +++ b/pom.xml @@ -213,7 +213,7 @@ 2.1.19.Final 1.1.2.Final 2.1.3.SP1 - 2.1.2.Final + 2.1.3.Final 1.5.2.Final 5.0.28.Final 3.1.0.Final