import ch.qos.logback.classic.joran.JoranConfigurator;
import ch.qos.logback.core.joran.spi.JoranException;
import ch.qos.logback.core.util.StatusPrinter;
+import ch.qos.logback.core.util.StatusPrinter2;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
*/
public class Logback {
+ private static final StatusPrinter2 statusPrinter = new StatusPrinter2();
+
private Logback() {
// only statics
}
} finally {
IOUtils.closeQuietly(input);
}
- StatusPrinter.printInCaseOfErrorsOrWarnings(lc);
+ statusPrinter.printInCaseOfErrorsOrWarnings(lc);
}
private static LoggerContext configureContext(LoggerContext context, Map<String, String> substitutionVariables) {