Details
-
Bug
-
Resolution: Unresolved
-
Minor
-
1.2.3
-
None
Description
Config file:
<?xml version="1.0" encoding="UTF-8"?> <configuration> <appender name="HUMAN" class="ch.qos.logback.core.FileAppender"> <file>test.log</file> <encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder"> <Pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %level %logger{35} - %msg ${log.pattern.suffix:-}%n</Pattern> </encoder> </appender> <root level="INFO"> <appender-ref ref="HUMAN" /> </root> </configuration>
The variable log.pattern.suffix is not defined.
Observed behaviour: variable is replaced with "log.pattern.suffix_IS_UNDEFINED"
Expected behaviour: variable should be replaced with empty string (as there is empty string after ":-".