The documentation for configuring logback with spring boot defaults has a typo:

https://docs.spring.io/spring-boot/docs/2.1.8.RELEASE/reference/html/howto-logging.html#howto-configure-logback-for-logging

The correct XML is defaultS.xml.

Comment From: nosan

@Mettbrot It has already been fixed. https://docs.spring.io/spring-boot/how-to/logging.html#howto.logging.logback

Comment From: wilkinsona

Duplicates https://github.com/spring-projects/spring-boot/pull/18295.

Comment From: Mettbrot

The real question would be: Why do I land on the docu for 2.1.8 when I google something like https://www.google.com/search?client=firefox-b-e&q=spring+boot+logging+config+logback

Is there anything we can do about that?

Comment From: wilkinsona

Not much, unfortunately. The new docs should improve search engine rankings and it does appear to be having an effect. For example, https://docs.spring.io/spring-boot/how-to/logging.html is the second result for me with Google and the first result with DuckDuckGo.