Mercurial > dive4elements > framework
comparison artifact-database/src/main/java/org/dive4elements/artifactdatabase/DefaultArtifactCollection.java @ 570:584591f8203c 3.2.x
Upgrade to Log4j 2
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Mon, 28 Feb 2022 17:41:14 +0100 |
parents | 415df0fc4fa1 |
children |
comparison
equal
deleted
inserted
replaced
569:2b40f4bf190d | 570:584591f8203c |
---|---|
14 import java.util.Date; | 14 import java.util.Date; |
15 import java.util.HashMap; | 15 import java.util.HashMap; |
16 import java.util.List; | 16 import java.util.List; |
17 import java.util.Map; | 17 import java.util.Map; |
18 | 18 |
19 import org.apache.log4j.Logger; | 19 import org.apache.logging.log4j.Logger; |
20 import org.apache.logging.log4j.LogManager; | |
20 | 21 |
21 import org.w3c.dom.Document; | 22 import org.w3c.dom.Document; |
22 | 23 |
23 import org.dive4elements.artifacts.Artifact; | 24 import org.dive4elements.artifacts.Artifact; |
24 import org.dive4elements.artifacts.ArtifactCollection; | 25 import org.dive4elements.artifacts.ArtifactCollection; |
36 public class DefaultArtifactCollection | 37 public class DefaultArtifactCollection |
37 implements ArtifactCollection | 38 implements ArtifactCollection |
38 { | 39 { |
39 /** The logger used in this class. */ | 40 /** The logger used in this class. */ |
40 private static Logger logger = | 41 private static Logger logger = |
41 Logger.getLogger(DefaultArtifactCollection.class); | 42 LogManager.getLogger(DefaultArtifactCollection.class); |
42 | 43 |
43 /** The identifier of the collection. */ | 44 /** The identifier of the collection. */ |
44 protected String identifier; | 45 protected String identifier; |
45 | 46 |
46 /** The identifier of the collection. */ | 47 /** The identifier of the collection. */ |