Updated to spring-boot-starter-parent 2.6.2 and my application can not start due to following error
Unexpected filename extension of file [file:logback.groovy]. Should be either .groovy or .xml
. Looked at source code of mentioned class and found following:
final String urlString = url.toString();
if (urlString.endsWith("xml")) {
JoranConfigurator configurator = new JoranConfigurator();
configurator.setContext(loggerContext);
configurator.doConfigure(url);
} else {
throw new LogbackException("Unexpected filename extension of file [" + url.toString() + "]. Should be either .groovy or .xml");
}
So looks like in the latest version they just removed groovy support? Is there any work around besides just moving back to excel configuration? Thanks