Revision 23de68fc
Added by Andreas Müller almost 2 years ago
cdmlib-persistence/src/main/java/eu/etaxonomy/cdm/persistence/validation/ValidationExecutor.java | ||
---|---|---|
18 | 18 |
|
19 | 19 |
import javax.validation.ConstraintValidator; |
20 | 20 |
|
21 |
import org.apache.log4j.Logger; |
|
21 |
import org.apache.logging.log4j.LogManager;import org.apache.logging.log4j.Logger;
|
|
22 | 22 |
|
23 | 23 |
/** |
24 | 24 |
* A {@code ThreadPoolExecutor} specialized in dealing with |
... | ... | |
85 | 85 |
//maybe we want to make this a spring component ? #4663 |
86 | 86 |
public class ValidationExecutor extends ThreadPoolExecutor implements RejectedExecutionHandler { |
87 | 87 |
|
88 |
private static final Logger logger = Logger.getLogger(ValidationExecutor.class); |
|
88 |
private static final Logger logger = LogManager.getLogger(ValidationExecutor.class);
|
|
89 | 89 |
|
90 | 90 |
// Number of threads to keep in the thread pool |
91 | 91 |
static final int CORE_POOL_SIZE = 0; |
Also available in: Unified diff
ref #9359 upgrade cdmlib to log4j 2