Mercurial > dive4elements > framework
comparison artifact-database/src/main/java/org/dive4elements/artifactdatabase/AbstractCallContext.java @ 570:584591f8203c 3.2.x
Upgrade to Log4j 2
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Mon, 28 Feb 2022 17:41:14 +0100 |
parents | 415df0fc4fa1 |
children |
comparison
equal
deleted
inserted
replaced
569:2b40f4bf190d | 570:584591f8203c |
---|---|
5 * Read the file LGPL.txt coming with the software for details | 5 * Read the file LGPL.txt coming with the software for details |
6 * or visit http://www.gnu.org/licenses/ if it does not exist. | 6 * or visit http://www.gnu.org/licenses/ if it does not exist. |
7 */ | 7 */ |
8 package org.dive4elements.artifactdatabase; | 8 package org.dive4elements.artifactdatabase; |
9 | 9 |
10 import org.apache.log4j.Logger; | 10 import org.apache.logging.log4j.Logger; |
11 import org.apache.logging.log4j.LogManager; | |
11 | 12 |
12 import java.util.ArrayList; | 13 import java.util.ArrayList; |
13 import java.util.List; | 14 import java.util.List; |
14 import java.util.Map; | 15 import java.util.Map; |
15 import java.util.HashMap; | 16 import java.util.HashMap; |
26 * @author <a href="mailto:sascha.teichmann@intevation.de">Sascha L. Teichmann</a> | 27 * @author <a href="mailto:sascha.teichmann@intevation.de">Sascha L. Teichmann</a> |
27 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> | 28 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> |
28 */ | 29 */ |
29 public abstract class AbstractCallContext implements CallContext { | 30 public abstract class AbstractCallContext implements CallContext { |
30 | 31 |
31 Logger logger = Logger.getLogger(AbstractCallContext.class); | 32 Logger logger = LogManager.getLogger(AbstractCallContext.class); |
32 | 33 |
33 /** | 34 /** |
34 * The ArtifactDatabase instance. | 35 * The ArtifactDatabase instance. |
35 */ | 36 */ |
36 protected ArtifactDatabaseImpl database; | 37 protected ArtifactDatabaseImpl database; |