Mercurial > dive4elements > framework
comparison artifact-database/src/main/java/org/dive4elements/artifactdatabase/DefaultService.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 |
---|---|
11 import org.dive4elements.artifacts.CallMeta; | 11 import org.dive4elements.artifacts.CallMeta; |
12 import org.dive4elements.artifacts.Service; | 12 import org.dive4elements.artifacts.Service; |
13 import org.dive4elements.artifacts.GlobalContext; | 13 import org.dive4elements.artifacts.GlobalContext; |
14 import org.dive4elements.artifacts.ServiceFactory; | 14 import org.dive4elements.artifacts.ServiceFactory; |
15 | 15 |
16 import org.apache.log4j.Logger; | 16 import org.apache.logging.log4j.Logger; |
17 import org.apache.logging.log4j.LogManager; | |
17 | 18 |
18 import org.w3c.dom.Document; | 19 import org.w3c.dom.Document; |
19 | 20 |
20 /** | 21 /** |
21 * Trivial implementation of an artifact database service. Useful to | 22 * Trivial implementation of an artifact database service. Useful to |
24 * @author <a href="mailto:sascha.teichmann@intevation.de">Sascha L. Teichmann</a> | 25 * @author <a href="mailto:sascha.teichmann@intevation.de">Sascha L. Teichmann</a> |
25 */ | 26 */ |
26 public class DefaultService | 27 public class DefaultService |
27 implements Service | 28 implements Service |
28 { | 29 { |
29 private static Logger logger = Logger.getLogger(DefaultService.class); | 30 private static Logger logger = LogManager.getLogger(DefaultService.class); |
30 | 31 |
31 public static class Output implements Service.Output { | 32 public static class Output implements Service.Output { |
32 | 33 |
33 protected Object data; | 34 protected Object data; |
34 protected String mimeType; | 35 protected String mimeType; |