imi-ms / MoPat

Mobile Patient Survey (MoPat) is a Java based web application to create, distribute, complete and export medical questionnaires.
Apache License 2.0
6 stars 1 forks source link

Adding profile-specific configurations to logback #11

Open ywarnecke opened 1 month ago

ywarnecke commented 1 month ago

By using spring-profiles in logback, environment variables could be used for the logback configuration, thus having all user specific configurations in one place

https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#features.logging.logback-extensions.profile-specific

ywarnecke commented 1 month ago

When this is implemented, the logback mailer settings could also be moved to the mopat configuration page.