Implement a new solution: Instead of static code blocks disabling logging, rollback slf4j-api, logback-classic, and logback-core to older versions. It's the addition of the rollback for slf4j-api that seems to restore logging.

This commit is contained in:
Luke deGruchy
2023-01-10 16:53:57 -05:00
parent d9f5e5c7da
commit 38ed00a84b
11 changed files with 20 additions and 41 deletions

View File

@@ -13,10 +13,6 @@ import org.springframework.boot.test.context.SpringBootTest;
})
public class CustomBeanTest {
static {
System.setProperty("org.springframework.boot.logging.LoggingSystem", "none");
}
@Autowired
some.custom.pkg1.CustomBean customBean1;