While investigating this topic a bit more deeply in the course of troubleshooting a problem
activating AWI-AE tracing, I took a look the system properties printed to the “FRAMEWORK” log. This revealed several
AWI configuration settings that had been previously unknown to me. One of them allows setting the name of the Logback configuration file. I enabled this option by adding the following to the end of the felix.properties file:
# Properties for Automic Web Interface (AWI)
com.uc4.ecc.development.logback.config=logback_debug.xml
At next launch, the log showed that the property was set:
2017-11-06 16:16:55,780 132 [localhost-startStop-1] DEBUG ECC BOOT - com.uc4.ecc.development.logback.config: logback_debug.xml
I can also confirm that the alternate config file was used. This will be useful when debugging AWI problems, because it will make it
easy two switch between two different logging configurations:
- A Logback config file that has verbose logging disabled, for normal day-to-day operations;
- A Logback config file that has verbose logging turned on, for debugging & troubleshooting.