Mercurial > dive4elements > framework
comparison artifact-database/src/main/java/org/dive4elements/artifactdatabase/XMLService.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.Service; | 12 import org.dive4elements.artifacts.Service; |
13 import org.dive4elements.artifacts.GlobalContext; | 13 import org.dive4elements.artifacts.GlobalContext; |
14 | 14 |
15 import org.dive4elements.artifacts.common.utils.XMLUtils; | 15 import org.dive4elements.artifacts.common.utils.XMLUtils; |
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 * Trivial implementation of an artifact database service. Useful to | 23 * Trivial implementation of an artifact database service. Useful to |
25 * @author <a href="mailto:sascha.teichmann@intevation.de">Sascha L. Teichmann</a> | 26 * @author <a href="mailto:sascha.teichmann@intevation.de">Sascha L. Teichmann</a> |
26 */ | 27 */ |
27 public class XMLService | 28 public class XMLService |
28 extends DefaultService | 29 extends DefaultService |
29 { | 30 { |
30 private static Logger logger = Logger.getLogger(XMLService.class); | 31 private static Logger logger = LogManager.getLogger(XMLService.class); |
31 | 32 |
32 @Override | 33 @Override |
33 public Service.Output process( | 34 public Service.Output process( |
34 Document data, | 35 Document data, |
35 GlobalContext globalContext, | 36 GlobalContext globalContext, |