Mercurial > dive4elements > framework
comparison artifact-database/src/main/java/org/dive4elements/artifactdatabase/ProxyArtifact.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 |
---|---|
12 import org.dive4elements.artifacts.CallContext; | 12 import org.dive4elements.artifacts.CallContext; |
13 | 13 |
14 import java.io.IOException; | 14 import java.io.IOException; |
15 import java.io.OutputStream; | 15 import java.io.OutputStream; |
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.w3c.dom.Document; | 20 import org.w3c.dom.Document; |
20 | 21 |
21 /** | 22 /** |
22 * The proxy artifact is a wrapper around another artifact. It simply forwards | 23 * The proxy artifact is a wrapper around another artifact. It simply forwards |
42 /** | 43 /** |
43 * Key to signal that the proxied artifact should be replaced. | 44 * Key to signal that the proxied artifact should be replaced. |
44 */ | 45 */ |
45 public static final Object REPLACE_PROXY = new Object(); | 46 public static final Object REPLACE_PROXY = new Object(); |
46 | 47 |
47 private static Logger logger = Logger.getLogger(ProxyArtifact.class); | 48 private static Logger logger = LogManager.getLogger(ProxyArtifact.class); |
48 | 49 |
49 /** | 50 /** |
50 * The proxied artifact. | 51 * The proxied artifact. |
51 */ | 52 */ |
52 protected Artifact proxied; | 53 protected Artifact proxied; |