Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/FlowVelocityCalculation.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 |
---|---|
18 | 18 |
19 import java.util.ArrayList; | 19 import java.util.ArrayList; |
20 import java.util.Collections; | 20 import java.util.Collections; |
21 import java.util.List; | 21 import java.util.List; |
22 | 22 |
23 import org.apache.log4j.Logger; | 23 import org.apache.logging.log4j.Logger; |
24 import org.apache.logging.log4j.LogManager; | |
24 | 25 |
25 | 26 |
26 /** Calculate flow velocity. */ | 27 /** Calculate flow velocity. */ |
27 public class FlowVelocityCalculation extends Calculation { | 28 public class FlowVelocityCalculation extends Calculation { |
28 | 29 |
29 /** Own log. */ | 30 /** Own log. */ |
30 private static final Logger log = | 31 private static final Logger log = |
31 Logger.getLogger(FlowVelocityCalculation.class); | 32 LogManager.getLogger(FlowVelocityCalculation.class); |
32 | 33 |
33 | 34 |
34 public CalculationResult calculate(FlowVelocityAccess access) { | 35 public CalculationResult calculate(FlowVelocityAccess access) { |
35 log.info("FlowVelocityCalculation.calculate"); | 36 log.info("FlowVelocityCalculation.calculate"); |
36 | 37 |