Mercurial > dive4elements > framework
comparison artifact-database/src/main/java/org/dive4elements/artifactdatabase/h2/CollectionAccessUpdateTrigger.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 |
---|---|
8 | 8 |
9 import org.dive4elements.artifactdatabase.DBConfig; | 9 import org.dive4elements.artifactdatabase.DBConfig; |
10 | 10 |
11 import org.dive4elements.artifactdatabase.db.SQL; | 11 import org.dive4elements.artifactdatabase.db.SQL; |
12 | 12 |
13 import org.apache.log4j.Logger; | 13 import org.apache.logging.log4j.Logger; |
14 import org.apache.logging.log4j.LogManager; | |
14 | 15 |
15 public class CollectionAccessUpdateTrigger | 16 public class CollectionAccessUpdateTrigger |
16 implements Trigger | 17 implements Trigger |
17 { | 18 { |
18 private static Logger logger = | 19 private static Logger logger = |
19 Logger.getLogger(CollectionAccessUpdateTrigger.class); | 20 LogManager.getLogger(CollectionAccessUpdateTrigger.class); |
20 | 21 |
21 public String COLLECTIONS_TOUCH_TRIGGER_FUNCTION; | 22 public String COLLECTIONS_TOUCH_TRIGGER_FUNCTION; |
22 | 23 |
23 public void init( | 24 public void init( |
24 Connection conn, | 25 Connection conn, |