Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/WstValueTableFactory.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 | 5e38e2924c07 |
children |
comparison
equal
deleted
inserted
replaced
9725:da398790fa32 | 9726:0a5239a1e46e |
---|---|
17 | 17 |
18 import org.dive4elements.river.artifacts.cache.CacheFactory; | 18 import org.dive4elements.river.artifacts.cache.CacheFactory; |
19 | 19 |
20 import org.dive4elements.river.backend.SessionHolder; | 20 import org.dive4elements.river.backend.SessionHolder; |
21 | 21 |
22 import org.apache.log4j.Logger; | 22 import org.apache.logging.log4j.Logger; |
23 import org.apache.logging.log4j.LogManager; | |
23 | 24 |
24 import org.dive4elements.river.model.River; | 25 import org.dive4elements.river.model.River; |
25 import org.dive4elements.river.model.Wst; | 26 import org.dive4elements.river.model.Wst; |
26 | 27 |
27 import org.hibernate.Session; | 28 import org.hibernate.Session; |
34 * Creates WstValueTable s from database. | 35 * Creates WstValueTable s from database. |
35 * WstValueTable s are used to interpolate given w/q/km values. | 36 * WstValueTable s are used to interpolate given w/q/km values. |
36 */ | 37 */ |
37 public class WstValueTableFactory | 38 public class WstValueTableFactory |
38 { | 39 { |
39 private static Logger log = Logger.getLogger(WstValueTableFactory.class); | 40 private static Logger log = LogManager.getLogger(WstValueTableFactory.class); |
40 | 41 |
41 public static final int DEFAULT_KIND = 0; | 42 public static final int DEFAULT_KIND = 0; |
42 | 43 |
43 // TODO: put this into a property file | 44 // TODO: put this into a property file |
44 | 45 |