I have an application which is in spring-boot in which we are logging logs at Info and for more details at debug level. Also we have environment specific config files such as application-dev.yml, application-prod.yml, application-qa.yml, etc files. Now I want to log the logs at DEBUG level in dev environment and at INFO level in prod environment . what can I add in environment specific files to achieve this?
Currently we have one logback.xml which we configured to log the logs. But we want to add configs to environment specific yaml file