Mercurial > dive4elements > framework
comparison artifact-database/src/main/java/org/dive4elements/artifactdatabase/DefaultArtifact.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 | 69f99bdf3d65 |
children |
comparison
equal
deleted
inserted
replaced
569:2b40f4bf190d | 570:584591f8203c |
---|---|
17 | 17 |
18 import java.io.IOException; | 18 import java.io.IOException; |
19 import java.io.OutputStream; | 19 import java.io.OutputStream; |
20 import java.util.List; | 20 import java.util.List; |
21 | 21 |
22 import org.apache.log4j.Logger; | 22 import org.apache.logging.log4j.Logger; |
23 import org.apache.logging.log4j.LogManager; | |
23 | 24 |
24 import org.w3c.dom.Document; | 25 import org.w3c.dom.Document; |
25 | 26 |
26 /** | 27 /** |
27 * Trivial implementation of an artifact. Useful to be subclassed. | 28 * Trivial implementation of an artifact. Useful to be subclassed. |
28 * @author <a href="mailto:sascha.teichmann@intevation.de">Sascha L. Teichmann</a> | 29 * @author <a href="mailto:sascha.teichmann@intevation.de">Sascha L. Teichmann</a> |
29 */ | 30 */ |
30 public class DefaultArtifact | 31 public class DefaultArtifact |
31 implements Artifact | 32 implements Artifact |
32 { | 33 { |
33 private static Logger logger = Logger.getLogger(DefaultArtifact.class); | 34 private static Logger logger = LogManager.getLogger(DefaultArtifact.class); |
34 | 35 |
35 /** | 36 /** |
36 * The identifier of the artifact. | 37 * The identifier of the artifact. |
37 */ | 38 */ |
38 protected String identifier; | 39 protected String identifier; |