Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/services/MeasurementStationInfoService.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 | 71144e25a6c9 |
children |
comparison
equal
deleted
inserted
replaced
9725:da398790fa32 | 9726:0a5239a1e46e |
---|---|
12 import java.text.DateFormat; | 12 import java.text.DateFormat; |
13 import java.util.Date; | 13 import java.util.Date; |
14 import java.util.List; | 14 import java.util.List; |
15 import java.util.Locale; | 15 import java.util.Locale; |
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 import org.w3c.dom.Element; | 21 import org.w3c.dom.Element; |
21 | 22 |
22 import org.dive4elements.artifacts.CallMeta; | 23 import org.dive4elements.artifacts.CallMeta; |
29 /** | 30 /** |
30 * @author <a href="mailto:bjoern.ricks@intevation.de">Björn Ricks</a> | 31 * @author <a href="mailto:bjoern.ricks@intevation.de">Björn Ricks</a> |
31 */ | 32 */ |
32 public class MeasurementStationInfoService extends RiverInfoService { | 33 public class MeasurementStationInfoService extends RiverInfoService { |
33 | 34 |
34 private static final Logger log = Logger.getLogger( | 35 private static final Logger log = LogManager.getLogger( |
35 MeasurementStationInfoService.class); | 36 MeasurementStationInfoService.class); |
36 | 37 |
37 public static final DateFormat DATE_FORMAT = DateFormat.getDateInstance( | 38 public static final DateFormat DATE_FORMAT = DateFormat.getDateInstance( |
38 DateFormat.SHORT, Locale.GERMANY); | 39 DateFormat.SHORT, Locale.GERMANY); |
39 | 40 |