Mercurial > dive4elements > river
diff artifacts/src/main/java/org/dive4elements/river/artifacts/model/FastCrossSectionChunk.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 | 5f4893db41e4 |
children |
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/model/FastCrossSectionChunk.java Fri Feb 25 17:17:56 2022 +0100 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/model/FastCrossSectionChunk.java Wed Mar 02 10:26:50 2022 +0100 @@ -17,7 +17,8 @@ import org.dive4elements.river.model.FastCrossSectionLine; -import org.apache.log4j.Logger; +import org.apache.logging.log4j.Logger; +import org.apache.logging.log4j.LogManager; /** * Number of FastCrossSectionLines, e.g. to store in cache and retrieve @@ -26,7 +27,7 @@ public class FastCrossSectionChunk implements Serializable { - private static Logger log = Logger.getLogger(FastCrossSectionChunk.class); + private static Logger log = LogManager.getLogger(FastCrossSectionChunk.class); public static final String PREFIX = "FCSC:"; public static final double KM_RANGE = 1.0;