Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/AnnotationArtifact.java @ 9726:0a5239a1e46e 3.2.x
Upgrade to Log4j 2
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Wed, 02 Mar 2022 10:26:50 +0100 |
parents | 5e38e2924c07 |
children |
comparison
equal
deleted
inserted
replaced
9725:da398790fa32 | 9726:0a5239a1e46e |
---|---|
12 import java.util.List; | 12 import java.util.List; |
13 | 13 |
14 import org.w3c.dom.Document; | 14 import org.w3c.dom.Document; |
15 import org.w3c.dom.Element; | 15 import org.w3c.dom.Element; |
16 | 16 |
17 import org.apache.log4j.Logger; | 17 import org.apache.logging.log4j.Logger; |
18 import org.apache.logging.log4j.LogManager; | |
18 | 19 |
19 import org.dive4elements.artifacts.Artifact; | 20 import org.dive4elements.artifacts.Artifact; |
20 import org.dive4elements.artifacts.ArtifactFactory; | 21 import org.dive4elements.artifacts.ArtifactFactory; |
21 import org.dive4elements.artifacts.ArtifactNamespaceContext; | 22 import org.dive4elements.artifacts.ArtifactNamespaceContext; |
22 import org.dive4elements.artifacts.CallContext; | 23 import org.dive4elements.artifacts.CallContext; |
44 public class AnnotationArtifact | 45 public class AnnotationArtifact |
45 extends StaticD4EArtifact | 46 extends StaticD4EArtifact |
46 implements FacetTypes { | 47 implements FacetTypes { |
47 | 48 |
48 /** The log for this class. */ | 49 /** The log for this class. */ |
49 private static Logger log = Logger.getLogger(AnnotationArtifact.class); | 50 private static Logger log = LogManager.getLogger(AnnotationArtifact.class); |
50 | 51 |
51 /** The name of the artifact. */ | 52 /** The name of the artifact. */ |
52 public static final String ARTIFACT_NAME = "annotation"; | 53 public static final String ARTIFACT_NAME = "annotation"; |
53 | 54 |
54 // Let Annotations enter life inactively if in Fix Analysis LS setting. | 55 // Let Annotations enter life inactively if in Fix Analysis LS setting. |