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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user