diff etl/src/main/java/org/dive4elements/river/etl/aft/Notification.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 6f80d5f375fd
children
line wrap: on
line diff
--- a/etl/src/main/java/org/dive4elements/river/etl/aft/Notification.java	Fri Feb 25 17:17:56 2022 +0100
+++ b/etl/src/main/java/org/dive4elements/river/etl/aft/Notification.java	Wed Mar 02 10:26:50 2022 +0100
@@ -18,7 +18,8 @@
 import java.net.URL;
 import java.net.URLConnection;
 
-import org.apache.log4j.Logger;
+import org.apache.logging.log4j.Logger;
+import org.apache.logging.log4j.LogManager;
 
 import org.w3c.dom.Document;
 import org.w3c.dom.Node;
@@ -26,7 +27,7 @@
 
 public class Notification
 {
-    private static Logger log = Logger.getLogger(Notification.class);
+    private static Logger log = LogManager.getLogger(Notification.class);
 
     protected Document message;
 

http://dive4elements.wald.intevation.org