hi there,
we are using logback in our spring boot application and all our logback
related configuration is in the `logback-spring.xml` file ad we configure
 `springProfile` for different environments in the xml file like this

<springProfile name="local,dev">
    <root level="DEBUG">
        <appender-ref ref="console"/>
    </root>
</springProfile>

after this configuration if we want to add other environment property, it
must be added to this `springProfile` first otherwise our application
failed to start with newly added property file.

for example if I just add a new property file called `application-uat.yml`
and directly start the application with this property file, our application
failed to start. for fixing this I need to add this property name in the
`SpringProfile` configuration like this `<springProfile name="local,dev,uat"
>`

we think logback rather than directly block our app start should have a
default value for newly added property file, do you have anything to share
with us? thank you

regards,
yaer
_______________________________________________
logback-user mailing list
[email protected]
http://mailman.qos.ch/mailman/listinfo/logback-user

Reply via email to