logback is unable to evaluate spring application name
<property scope="context" name="app_name" value="${spring.application.name}" /> log output:"app_name":"spring.application.name_IS_UNDEFINED"
if the property is printed out of the application context, it is working fine.
logback-classic 1.11 logback-core 1.11 logstash-logback-encoder 4.11
UPDATE:
changing logback.xml to logback-spring.xml and adding <springProperty scope="context" name="app_name" source="spring.application.name" />
rather than <property scope="context" name="app_name" value="${spring.application.name}" />
fixed the issue with spring-boot 1.5.4
Thanks