diff --git a/hibernate-core/src/main/java/org/hibernate/boot/jaxb/hbm/transform/HbmTransformationLogging.java b/hibernate-core/src/main/java/org/hibernate/boot/jaxb/hbm/transform/HbmTransformationLogging.java index 07637e5236..456a75fc69 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/jaxb/hbm/transform/HbmTransformationLogging.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/jaxb/hbm/transform/HbmTransformationLogging.java @@ -6,6 +6,7 @@ */ package org.hibernate.boot.jaxb.hbm.transform; +import org.hibernate.boot.BootLogging; import org.hibernate.boot.jaxb.JaxbLogger; import org.jboss.logging.Logger; @@ -16,6 +17,6 @@ import org.jboss.logging.Logger; * @author Steve Ebersole */ public class HbmTransformationLogging { - public static final String TRANSFORMATION_LOGGER_NAME = JaxbLogger.LOGGER_NAME + ".hbm-transform"; + public static final String TRANSFORMATION_LOGGER_NAME = BootLogging.NAME + ".models.hbm-transform"; public static final Logger TRANSFORMATION_LOGGER = Logger.getLogger( TRANSFORMATION_LOGGER_NAME ); } diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/xml/XmlProcessLogging.java b/hibernate-core/src/main/java/org/hibernate/boot/models/xml/XmlProcessLogging.java index 61fdc8669e..c25dd496e0 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/xml/XmlProcessLogging.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/xml/XmlProcessLogging.java @@ -15,7 +15,7 @@ import org.jboss.logging.Logger; */ @Internal public interface XmlProcessLogging { - String NAME = "org.hibernate.orm.models.xml"; + String NAME = "org.hibernate.orm.boot.models.xml"; Logger XML_PROCESS_LOGGER = Logger.getLogger( NAME ); } diff --git a/hibernate-core/src/test/resources/log4j2.properties b/hibernate-core/src/test/resources/log4j2.properties index 1f640885ff..1cb95863ff 100644 --- a/hibernate-core/src/test/resources/log4j2.properties +++ b/hibernate-core/src/test/resources/log4j2.properties @@ -55,13 +55,12 @@ logger.sql-result-ast.name=org.hibernate.orm.sql.results.graph.AST logger.sqm-tree.name=org.hibernate.orm.query.sqm.ast #logger.sqm-tree.level=debug -logger.hbm-xml.name=org.hibernate.orm.boot.jaxb.hbm-transform +logger.hbm-xml.name=org.hibernate.orm.boot.models.hbm-transform #logger.hbm-xml.level=debug -logger.xml.name=org.hibernate.orm.models.xml +logger.xml.name=org.hibernate.orm.boot.models.xml #logger.xml.level=debug - ############################################################################### # package/class name based logging