comparison artifact-database/src/main/java/org/dive4elements/artifactdatabase/DefaultArtifactCollectionFactory.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
7 */ 7 */
8 package org.dive4elements.artifactdatabase; 8 package org.dive4elements.artifactdatabase;
9 9
10 import org.dive4elements.artifacts.common.utils.Config; 10 import org.dive4elements.artifacts.common.utils.Config;
11 11
12 import org.apache.log4j.Logger; 12 import org.apache.logging.log4j.Logger;
13 import org.apache.logging.log4j.LogManager;
13 14
14 import org.w3c.dom.Document; 15 import org.w3c.dom.Document;
15 import org.w3c.dom.Node; 16 import org.w3c.dom.Node;
16 17
17 import org.dive4elements.artifacts.ArtifactCollection; 18 import org.dive4elements.artifacts.ArtifactCollection;
28 public class DefaultArtifactCollectionFactory 29 public class DefaultArtifactCollectionFactory
29 implements ArtifactCollectionFactory 30 implements ArtifactCollectionFactory
30 { 31 {
31 /** The logger that is used in this factory.*/ 32 /** The logger that is used in this factory.*/
32 private static Logger logger = 33 private static Logger logger =
33 Logger.getLogger(DefaultArtifactCollectionFactory.class); 34 LogManager.getLogger(DefaultArtifactCollectionFactory.class);
34 35
35 /** XPath to access the TTL of this artifact.*/ 36 /** XPath to access the TTL of this artifact.*/
36 public static final String XPATH_TTL = "@ttl"; 37 public static final String XPATH_TTL = "@ttl";
37 38
38 /** XPath to access the name of this factory.*/ 39 /** XPath to access the name of this factory.*/

http://dive4elements.wald.intevation.org