diff --git a/galleon-feature-pack/galleon-content/src/main/resources/modules/system/layers/base/org/wildfly/extension/vertx/main/module.xml b/galleon-feature-pack/galleon-content/src/main/resources/modules/system/layers/base/org/wildfly/extension/vertx/main/module.xml index 36dbd76..6ed5d79 100644 --- a/galleon-feature-pack/galleon-content/src/main/resources/modules/system/layers/base/org/wildfly/extension/vertx/main/module.xml +++ b/galleon-feature-pack/galleon-content/src/main/resources/modules/system/layers/base/org/wildfly/extension/vertx/main/module.xml @@ -28,6 +28,7 @@ + diff --git a/subsystem/src/main/java/org/wildfly/extension/vertx/VertxSubsystemExtension.java b/subsystem/src/main/java/org/wildfly/extension/vertx/VertxSubsystemExtension.java index 489858f..c6c5573 100644 --- a/subsystem/src/main/java/org/wildfly/extension/vertx/VertxSubsystemExtension.java +++ b/subsystem/src/main/java/org/wildfly/extension/vertx/VertxSubsystemExtension.java @@ -5,6 +5,9 @@ package org.wildfly.extension.vertx; +import io.netty.util.internal.logging.InternalLoggerFactory; +import io.netty.util.internal.logging.JdkLoggerFactory; +import io.vertx.core.logging.LoggerFactory; import org.jboss.as.controller.ModelVersion; import org.jboss.as.controller.PathElement; import org.jboss.as.controller.SubsystemModel; @@ -40,6 +43,11 @@ static StandardResourceDescriptionResolver getResourceDescriptionResolver(final public VertxSubsystemExtension() { super(SubsystemConfiguration.of(SUBSYSTEM_NAME, VertxSubsystemModel.CURRENT, VertxSubsystemRegistrar::new), SubsystemPersistence.of(VertxSubsystemSchema.CURRENT)); + // Initialize the Netty logger factory + InternalLoggerFactory.setDefaultFactory(JdkLoggerFactory.INSTANCE); + // Initialize the Vert.x logger factory + //noinspection deprecation + LoggerFactory.initialise(); } @Override