how to dynamic add staticField
Closed this issue · 1 comments
lly835 commented
i want to dynamic set springboot application name.
<staticField>app_name:${spring.application.name}</staticField>
osiegmar commented
This is provided by the springProperty tag for logback of Spring Boot. Make sure that the logback configuration file has the name logback-spring.xml
to support this.