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 49333dcb6b9..690132be710 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.3.Final 5.0.28.Final 3.1.0.Final