공부
[Spring] logback.xml use spring property
승가비
2020. 5. 14. 01:43
728x90
<springProperty name="abc" source="a.b.c"/>
<appender ...>
<remoteHost>${abc}</remoteHost>
...
</appender>
https://stackoverflow.com/questions/36743386/accessing-the-application-properties-in-logback-xml
Accessing the application properties in logback.xml
Is it possible to access application properties of spring boot in log back xml. application.properties dummy.property=hello logback.xml ${dummy.property} This did not work. Does any one have ...
stackoverflow.com
728x90