logback(xml)读取yml配置

 

<springProperty scope="context" name="logName" source="dubbo.application.name" defaultValue="default"/>
 <property name="log.path" value="${catalina.base}/logs/pacmp/${logName}" />
原文地址:https://www.cnblogs.com/penghq/p/13361259.html