Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/StaticWKmsArtifact.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 |
---|---|
41 import java.awt.geom.Point2D; | 41 import java.awt.geom.Point2D; |
42 | 42 |
43 import java.util.ArrayList; | 43 import java.util.ArrayList; |
44 import java.util.List; | 44 import java.util.List; |
45 | 45 |
46 import org.apache.log4j.Logger; | 46 import org.apache.logging.log4j.Logger; |
47 import org.apache.logging.log4j.LogManager; | |
47 | 48 |
48 import org.w3c.dom.Document; | 49 import org.w3c.dom.Document; |
49 | 50 |
50 /** | 51 /** |
51 * Artifact to access additional "waterlevel"-type of data, like the height | 52 * Artifact to access additional "waterlevel"-type of data, like the height |
58 extends StaticD4EArtifact | 59 extends StaticD4EArtifact |
59 implements FacetTypes, WaterLineArtifact | 60 implements FacetTypes, WaterLineArtifact |
60 { | 61 { |
61 /** The log for this class. */ | 62 /** The log for this class. */ |
62 private static Logger log = | 63 private static Logger log = |
63 Logger.getLogger(StaticWKmsArtifact.class); | 64 LogManager.getLogger(StaticWKmsArtifact.class); |
64 | 65 |
65 private static final String NAME = "staticwkms"; | 66 private static final String NAME = "staticwkms"; |
66 | 67 |
67 static { | 68 static { |
68 // TODO: Move to configuration. | 69 // TODO: Move to configuration. |