Author: adamw
Date: 2008-10-31 08:26:41 -0400 (Fri, 31 Oct 2008)
New Revision: 15465
Removed:
core/trunk/envers/src/main/java/org/hibernate/envers/tools/log/
Modified:
core/trunk/envers/src/main/java/org/hibernate/envers/configuration/metadata/AuditMetadataGenerator.java
Log:
Removing the unused logger integration (for Hibernate <3.3)
Modified:
core/trunk/envers/src/main/java/org/hibernate/envers/configuration/metadata/AuditMetadataGenerator.java
===================================================================
---
core/trunk/envers/src/main/java/org/hibernate/envers/configuration/metadata/AuditMetadataGenerator.java 2008-10-31
12:23:27 UTC (rev 15464)
+++
core/trunk/envers/src/main/java/org/hibernate/envers/configuration/metadata/AuditMetadataGenerator.java 2008-10-31
12:26:41 UTC (rev 15465)
@@ -40,8 +40,6 @@
import org.hibernate.envers.entities.mapper.MultiPropertyMapper;
import org.hibernate.envers.entities.mapper.SubclassPropertyMapper;
import org.hibernate.envers.tools.StringTools;
-import org.hibernate.envers.tools.log.YLog;
-import org.hibernate.envers.tools.log.YLogManager;
import org.hibernate.MappingException;
import org.hibernate.cfg.Configuration;
@@ -54,6 +52,8 @@
import org.hibernate.type.ManyToOneType;
import org.hibernate.type.OneToOneType;
import org.hibernate.type.Type;
+import org.slf4j.LoggerFactory;
+import org.slf4j.Logger;
/**
* @author Adam Warski (adam at warski dot org)
@@ -74,7 +74,7 @@
// Map entity name -> (join descriptor -> element describing the
"versioned" join)
private final Map<String, Map<Join, Element>> entitiesJoins;
- private YLog log = YLogManager.getLogManager().getLog(AuditMetadataGenerator.class);
+ private Logger log = LoggerFactory.getLogger(AuditMetadataGenerator.class);
public AuditMetadataGenerator(Configuration cfg, GlobalConfiguration globalCfg,
AuditEntitiesConfiguration verEntCfg,
Show replies by date