All supported logging systems can have logging levels set in Spring using "logging.level. * = LEVEL, where" LEVEL "is one of TRACE, DEBUG, INFO, WARN, ERROR, FATAL, OFF. The root logger can be configured using logging.level.root . Example application.properties:
logging.level.root=WARN logging.level.org.springframework.web=DEBUG logging.level.org.hibernate=ERROR
Check this information: https://docs.spring.io/spring-boot/docs/current/reference/html/boot-features-logging.html
You can also overwrite the logback configuration and set it to OFF .
<configuration> <root level="OFF"> <appender-ref ref="STDOUT" /> </root> </configuration>
You can find additional information at the following link: https://logback.qos.ch/manual/configuration.html#rootElement
source share