Mercurial > dive4elements > river
comparison backend/src/main/java/org/dive4elements/river/model/FlowVelocityMeasurement.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 | 9d2e69f971f5 |
children |
comparison
equal
deleted
inserted
replaced
9725:da398790fa32 | 9726:0a5239a1e46e |
---|---|
20 import javax.persistence.GenerationType; | 20 import javax.persistence.GenerationType; |
21 import javax.persistence.JoinColumn; | 21 import javax.persistence.JoinColumn; |
22 import javax.persistence.OneToOne; | 22 import javax.persistence.OneToOne; |
23 import javax.persistence.OneToMany; | 23 import javax.persistence.OneToMany; |
24 | 24 |
25 import org.apache.log4j.Logger; | 25 import org.apache.logging.log4j.Logger; |
26 import org.apache.logging.log4j.LogManager; | |
26 | 27 |
27 | 28 |
28 @Entity | 29 @Entity |
29 @Table(name = "flow_velocity_measurements") | 30 @Table(name = "flow_velocity_measurements") |
30 public class FlowVelocityMeasurement | 31 public class FlowVelocityMeasurement |
31 implements Serializable | 32 implements Serializable |
32 { | 33 { |
33 private static Logger log = | 34 private static Logger log = |
34 Logger.getLogger(FlowVelocityMeasurement.class); | 35 LogManager.getLogger(FlowVelocityMeasurement.class); |
35 | 36 |
36 private Integer id; | 37 private Integer id; |
37 | 38 |
38 private River river; | 39 private River river; |
39 | 40 |