title: Depending on springProfiles[dev, stg, prod] in logback-spring.xml , how to activate corresponding spring profile passed in command line
body: <p>In my application-properteis, i have set spring.profiles.active=dev, but when i pass from command line via gradle clean -Dspring.profiles.active=stg build, it is taking by default dev profile only. how ot overwrite the default value set in application.properteis.</p>