Журналы уровня DEBUG не печатаются даже после обновления уровня регистратора в application.yaml
Журналы DEBUG не распечатываются даже после обновления уровня журнала в моем application.yaml.
приложение.yaml
logging:
level:
ROOT: DEBUG
пом.xml
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>2.0.0</version>
<scope>runtime</scope>
</dependency>
ЖУРНАЛЫ
[main] INFO org.springframework.boot.test.autoconfigure.orm.jpa.DataJpaTestContextBootstrapper - Neither @ContextConfiguration nor @ContextHierarchy found for test class [com.FooRepositoryTest], using SpringBootContextLoader
[main] INFO org.springframework.test.context.support.AbstractContextLoader - Could not detect default resource locations for test class [com.FooRepositoryTest]: no resource found for suffixes {-context.xml, Context.groovy}.
[main] INFO org.springframework.test.context.support.AnnotationConfigContextLoaderUtils - Could not detect default configuration classes for test class [com.FooRepositoryTest]: FooRepositoryTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
1 ответ
Существуют ли какие-либо средства ведения журнала, специфичные для структуры пакета, указанной в вашем YAML? Если да, то они переопределят значение ROOT.