Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/context/SessionCallContextListener.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 | fe7e9da6312a |
children |
comparison
equal
deleted
inserted
replaced
9725:da398790fa32 | 9726:0a5239a1e46e |
---|---|
6 * documentation coming with Dive4Elements River for details. | 6 * documentation coming with Dive4Elements River for details. |
7 */ | 7 */ |
8 | 8 |
9 package org.dive4elements.river.artifacts.context; | 9 package org.dive4elements.river.artifacts.context; |
10 | 10 |
11 import org.apache.log4j.Logger; | 11 import org.apache.logging.log4j.Logger; |
12 import org.apache.logging.log4j.LogManager; | |
12 | 13 |
13 import org.w3c.dom.Document; | 14 import org.w3c.dom.Document; |
14 import org.w3c.dom.Node; | 15 import org.w3c.dom.Node; |
15 | 16 |
16 import org.hibernate.Session; | 17 import org.hibernate.Session; |
31 | 32 |
32 public static final String SESSION_KEY = "context.session"; | 33 public static final String SESSION_KEY = "context.session"; |
33 | 34 |
34 /** The log that is used in this class.*/ | 35 /** The log that is used in this class.*/ |
35 private static Logger log = | 36 private static Logger log = |
36 Logger.getLogger(SessionCallContextListener.class); | 37 LogManager.getLogger(SessionCallContextListener.class); |
37 | 38 |
38 | 39 |
39 public SessionCallContextListener() { | 40 public SessionCallContextListener() { |
40 } | 41 } |
41 | 42 |