Already reported and closed but I was able to reproduce it using logback.xml sample from 2.1.8.RELEASE documentation page, section 83.1 :-p
spring-boot version: 2.5.1
Steps to reproduce:
- Copy the sample
logback.xmlconfiguration from2.1.8.RELEASEdocumentation page, section83.1 - Start your application
Logs will show:
20:26:45,329 |-WARN in ch.qos.logback.core.joran.util.PropertySetter@6646153 - Failed to set property [charset] to value "CONSOLE_LOG_CHARSET_IS_UNDEFINED". ch.qos.logback.core.util.PropertySetterException: Conversion to type [class java.nio.charset.Charset] failed. at ch.qos.logback.core.util.PropertySetterException: Conversion to type [class java.nio.charset.Charset] failed. ... CONSOLE_LOG_PATTERN_IS_UNDEFINEDCONSOLE_LOG_PATTERN_IS_UNDEFINEDCONSOLE_
Cause:
The include string is missing the s in default.xml
<include resource="org/springframework/boot/logging/logback/default.xml"/>
Notes:
* The second example on section 83.1.1 is correct.
* The mentioned page is the second result in this google search spring boot console appender
Comment From: wilkinsona
Duplicates https://github.com/spring-projects/spring-boot/pull/18295.