Spring boot Logback config multiple environment
Spring boot documentation recommends to use logback-spring.xml
rather than logback.xml
and in it you can use spring profile tag:
<configuration>
<springProfile name="workspace">
...
</springProfile>
<springProfile name="dev,prd">
...
</springProfile>
</configuration>
No comments:
Post a Comment