Skip to content

Instantly share code, notes, and snippets.

@GlavS
GlavS / How-to-turn-off-SpringBoot-logging.txt
Last active January 20, 2023 15:06
For Spring Boot users who is sometimes as tired of verbose logging output, especially when running tests, as I am. It is a working way to turn off loggigng messages (completely or filter them to some less verbose level, e.g. ERROR).
resources/application.yml:
spring:
main:
banner-mode: off
logging:
level:
root: error # or "off" for permanent silence
resources/logback.xml: