While running my Spring Boot Application, I am passing --spring.profiles.active=qa
/user/MyApp --spring.profile.active=qa
This qa value I will change based on my env.
I need to get this qa value in my log4j2.xml
Already tried : ${sys:spring.profiles.active}. It didn't work