Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/states/RiverSelect.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 |
---|---|
8 | 8 |
9 package org.dive4elements.river.artifacts.states; | 9 package org.dive4elements.river.artifacts.states; |
10 | 10 |
11 import java.util.List; | 11 import java.util.List; |
12 | 12 |
13 import org.apache.log4j.Logger; | 13 import org.apache.logging.log4j.Logger; |
14 import org.apache.logging.log4j.LogManager; | |
14 | 15 |
15 import org.w3c.dom.Element; | 16 import org.w3c.dom.Element; |
16 import org.w3c.dom.Node; | 17 import org.w3c.dom.Node; |
17 | 18 |
18 import org.dive4elements.artifacts.Artifact; | 19 import org.dive4elements.artifacts.Artifact; |
34 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> | 35 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> |
35 */ | 36 */ |
36 public class RiverSelect extends DefaultState { | 37 public class RiverSelect extends DefaultState { |
37 | 38 |
38 /** The log used in this class. */ | 39 /** The log used in this class. */ |
39 private static Logger log = Logger.getLogger(RiverSelect.class); | 40 private static Logger log = LogManager.getLogger(RiverSelect.class); |
40 | 41 |
41 /** Error message that is thrown if no river was found based on a given | 42 /** Error message that is thrown if no river was found based on a given |
42 * name.*/ | 43 * name.*/ |
43 public static final String ERROR_NO_SUCH_RIVER = | 44 public static final String ERROR_NO_SUCH_RIVER = |
44 "error_feed_no_such_river"; | 45 "error_feed_no_such_river"; |