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