Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/datacage/DBConfig.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 |
---|---|
11 import org.dive4elements.artifacts.common.utils.Config; | 11 import org.dive4elements.artifacts.common.utils.Config; |
12 | 12 |
13 import org.dive4elements.artifactdatabase.db.SQL; | 13 import org.dive4elements.artifactdatabase.db.SQL; |
14 import org.dive4elements.artifactdatabase.db.DBConnection; | 14 import org.dive4elements.artifactdatabase.db.DBConnection; |
15 | 15 |
16 import org.apache.log4j.Logger; | 16 import org.apache.logging.log4j.Logger; |
17 import org.apache.logging.log4j.LogManager; | |
17 | 18 |
18 public class DBConfig | 19 public class DBConfig |
19 { | 20 { |
20 private static Logger log = Logger.getLogger(DBConfig.class); | 21 private static Logger log = LogManager.getLogger(DBConfig.class); |
21 | 22 |
22 /** | 23 /** |
23 * XPath to access the database driver within the global configuration. | 24 * XPath to access the database driver within the global configuration. |
24 */ | 25 */ |
25 public static final String DB_DRIVER = | 26 public static final String DB_DRIVER = |