Details
-
Wish
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.20.0
-
None
-
None
Description
I have a requirement for our application to be able to get the configuration for defined appenders so that it can be modified and written to a new log4j2 XML configuration file at runtime.
The log4j2 CronTriggeringPolicy has a configuration attribute "evaluateOnStartup" which is stored as 'checkOnStartup' in the CronTriggeringPolicy.java class. There is currently no public API to get the value of this boolean flag at runtime.
My "wish" would be to add a simple getter API to query this configuration setting.