Access to current run-time config

2018-02-19 Thread Arnie Morein
Hello, looking for some advice, assuming this is possible. I am working with a rather complex application and the log4j2 configuration is also complex (12+ loggers). It is started at war deployment by a WEB-INF/classes/log4j2.xml file and then after the context is started, based on the host

Creating Loggers - no effect

2018-02-19 Thread Arnie Morein
I am having issues creating loggers in a manually configured context. I have created a new context with appenders and they can be access via the BuiltConfiguration. But none of my loggers appear to be being added to the configuration. The calls I am making are: