I'm dealing with 2 WAR applications (let's call them app1.war and app2.war) deployed in a tomcat7 environment. Through the setenv.sh I'm extending the classpath to a shared folder located in /opt/configurations.
I'd like to structure my configurations this way:
configurations/
├── app1.properties
├── app2.properties
├── logback-app1.xml
└── logback-app2.xml
How do I tell to each application to read different logback*.xml files from the shared classpath? In other words, how do I tell app1.war to read only logback-app1.xml and app2.war to read only logback-app2.xml.