Project

General

Profile

« Previous | Next » 

Revision 1372d044

Added by Andreas Müller 4 months ago

remove deprecated methods

View differences:

src/main/java/eu/etaxonomy/cdm/server/logging/LoggingConfigurator.java
50 50
        // (from jetty-webapp-logging-9.4.20.v20190813.jar) to the DeploymentManager,
51 51
        // in the  cdm-server we are not using the DeploymentManager so
52 52
        // this needs to be done per web app explicitely:
53
        cdmWebappContext.addSystemClass("org.apache.log4j.");
54
        cdmWebappContext.addSystemClass("org.slf4j.");
55
        cdmWebappContext.addSystemClass("org.apache.commons.logging.");
53
        cdmWebappContext.getSystemClasspathPattern().add("org.apache.log4j.");
54
        cdmWebappContext.getSystemClasspathPattern().add("org.slf4j.");
55
        cdmWebappContext.getSystemClasspathPattern().add("org.apache.commons.logging.");
56 56

  
57 57
        // > jetty-webapp-logging-9.4.20.v20190813-config/etc/jetty-mdc-handler.xml
58 58
        InstanceLogWrapper mdcHandler = new InstanceLogWrapper(instance.getName());

Also available in: Unified diff