Mercurial > dive4elements > framework
comparison artifact-database/src/main/java/org/dive4elements/artifactdatabase/Backend.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 | 68f01f10624e |
children |
comparison
equal
deleted
inserted
replaced
569:2b40f4bf190d | 570:584591f8203c |
---|---|
33 import java.util.Date; | 33 import java.util.Date; |
34 import java.util.HashMap; | 34 import java.util.HashMap; |
35 | 35 |
36 import java.util.concurrent.CopyOnWriteArrayList; | 36 import java.util.concurrent.CopyOnWriteArrayList; |
37 | 37 |
38 import org.apache.log4j.Logger; | 38 import org.apache.logging.log4j.Logger; |
39 import org.apache.logging.log4j.LogManager; | |
39 | 40 |
40 import org.w3c.dom.Document; | 41 import org.w3c.dom.Document; |
41 | 42 |
42 /** | 43 /** |
43 * The backend implements the low level layer used to store artifacts | 44 * The backend implements the low level layer used to store artifacts |
46 * @author <a href="mailto:sascha.teichmann@intevation.de">Sascha L. Teichmann</a> | 47 * @author <a href="mailto:sascha.teichmann@intevation.de">Sascha L. Teichmann</a> |
47 */ | 48 */ |
48 public class Backend | 49 public class Backend |
49 implements DatabaseCleaner.ArtifactReviver | 50 implements DatabaseCleaner.ArtifactReviver |
50 { | 51 { |
51 private static Logger logger = Logger.getLogger(Backend.class); | 52 private static Logger logger = LogManager.getLogger(Backend.class); |
52 | 53 |
53 /** | 54 /** |
54 * The SQL statement to create new artifact id inside the database. | 55 * The SQL statement to create new artifact id inside the database. |
55 */ | 56 */ |
56 public String SQL_NEXT_ID; | 57 public String SQL_NEXT_ID; |