Mercurial > dive4elements > river
diff 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 |
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/services/CrossSectionKMService.java Fri Feb 25 17:17:56 2022 +0100 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/services/CrossSectionKMService.java Wed Mar 02 10:26:50 2022 +0100 @@ -31,7 +31,8 @@ import net.sf.ehcache.Cache; -import org.apache.log4j.Logger; +import org.apache.logging.log4j.Logger; +import org.apache.logging.log4j.LogManager; import org.hibernate.Query; import org.hibernate.Session; @@ -60,7 +61,7 @@ extends D4EService { private static Logger log = - Logger.getLogger(CrossSectionKMService.class); + LogManager.getLogger(CrossSectionKMService.class); public static final String CACHE_NAME = "cross-section-kms";