Springboot loaded logback-spring.xml 2 times, and how to reference other properties files -


i have 2 issues when work springboot 1.5.4, can not resolve them.

issue no 1.

i configured logback-spring.xml in src/main/resources,when spring boot started, 2 directories created, 1 started 'application name', 1 started bootstrap..

i confused why bootstrap log file directory created, spring boot created 2 log directories, way, spring maybe loaded logback-spring.xml 2 times when started.

issue no 2.

i have many projects, same configures need copy application file in every project, , want put common properties in common files.

how refenrence common config file or include ?

is there usage in spring boot application.yml below:

spring.xx.inclue: ../common-project/config/common.yml

thanks.


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -