Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/services/GaugeInfoService.java @ 9726:0a5239a1e46e 3.2.x
Upgrade to Log4j 2
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Wed, 02 Mar 2022 10:26:50 +0100 |
parents | e4606eae8ea5 |
children |
comparison
equal
deleted
inserted
replaced
9725:da398790fa32 | 9726:0a5239a1e46e |
---|---|
12 import java.util.List; | 12 import java.util.List; |
13 | 13 |
14 import org.w3c.dom.Document; | 14 import org.w3c.dom.Document; |
15 import org.w3c.dom.Element; | 15 import org.w3c.dom.Element; |
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.dive4elements.artifacts.common.ArtifactNamespaceContext; | 20 import org.dive4elements.artifacts.common.ArtifactNamespaceContext; |
20 import org.dive4elements.artifacts.common.utils.XMLUtils; | 21 import org.dive4elements.artifacts.common.utils.XMLUtils; |
21 import org.dive4elements.artifacts.common.utils.XMLUtils.ElementCreator; | 22 import org.dive4elements.artifacts.common.utils.XMLUtils.ElementCreator; |
22 | 23 |
57 } | 58 } |
58 } // end of ReferenceNumberFilter class | 59 } // end of ReferenceNumberFilter class |
59 | 60 |
60 | 61 |
61 /** The log that is used by this service.*/ | 62 /** The log that is used by this service.*/ |
62 private static Logger log = Logger.getLogger(GaugeInfoService.class); | 63 private static Logger log = LogManager.getLogger(GaugeInfoService.class); |
63 | 64 |
64 | 65 |
65 public static final String XPATH_RIVERNAME = "/art:river/@name"; | 66 public static final String XPATH_RIVERNAME = "/art:river/@name"; |
66 | 67 |
67 public static final String XPATH_REFERENCE_NR | 68 public static final String XPATH_REFERENCE_NR |