I have a Spring Boot console app using Logback. All of the properties (for the app as well as for Logback) are externalized into a standard application.properties file in th
There is a way to map Spring properties to Logback properties and use them in the Conditions:
logback-spring.xml ${ACTIVE_PROFILE}/${HOSTNAME}/testappender.log {ACTIVE_PROFILE}/${HOSTNAME}/testappender-%d{yyyy-MM-dd}.%i.log 300MB 3 1GB %msg%n