Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/services/CrossSectionKMService.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 |
---|---|
29 | 29 |
30 import java.util.concurrent.ConcurrentSkipListMap; | 30 import java.util.concurrent.ConcurrentSkipListMap; |
31 | 31 |
32 import net.sf.ehcache.Cache; | 32 import net.sf.ehcache.Cache; |
33 | 33 |
34 import org.apache.log4j.Logger; | 34 import org.apache.logging.log4j.Logger; |
35 import org.apache.logging.log4j.LogManager; | |
35 | 36 |
36 import org.hibernate.Query; | 37 import org.hibernate.Query; |
37 import org.hibernate.Session; | 38 import org.hibernate.Session; |
38 | 39 |
39 import org.w3c.dom.Document; | 40 import org.w3c.dom.Document; |
58 */ | 59 */ |
59 public class CrossSectionKMService | 60 public class CrossSectionKMService |
60 extends D4EService | 61 extends D4EService |
61 { | 62 { |
62 private static Logger log = | 63 private static Logger log = |
63 Logger.getLogger(CrossSectionKMService.class); | 64 LogManager.getLogger(CrossSectionKMService.class); |
64 | 65 |
65 public static final String CACHE_NAME = "cross-section-kms"; | 66 public static final String CACHE_NAME = "cross-section-kms"; |
66 | 67 |
67 | 68 |
68 /** Trivial constructor. */ | 69 /** Trivial constructor. */ |