comparison artifacts/src/main/java/org/dive4elements/river/wsplgen/WSPLGENCallable.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 2dba91c00c72
children
comparison
equal deleted inserted replaced
9725:da398790fa32 9726:0a5239a1e46e
13 13
14 import java.io.File; 14 import java.io.File;
15 import java.io.IOException; 15 import java.io.IOException;
16 import java.util.concurrent.Callable; 16 import java.util.concurrent.Callable;
17 17
18 import org.apache.log4j.Logger; 18 import org.apache.logging.log4j.Logger;
19 import org.apache.logging.log4j.LogManager;
19 20
20 21
21 /** 22 /**
22 * A Callable that is used to start and observe an external Process for WSPLGEN. 23 * A Callable that is used to start and observe an external Process for WSPLGEN.
23 * 24 *
30 31
31 public static final String WSPLGEN_BIN_PATH = 32 public static final String WSPLGEN_BIN_PATH =
32 System.getProperty("wsplgen.bin.path"); 33 System.getProperty("wsplgen.bin.path");
33 34
34 35
35 private Logger log = Logger.getLogger(WSPLGENCallable.class); 36 private Logger log = LogManager.getLogger(WSPLGENCallable.class);
36 37
37 private Process process; 38 private Process process;
38 39
39 protected Scheduler scheduler; 40 protected Scheduler scheduler;
40 41

http://dive4elements.wald.intevation.org