ref:
https://logging.apache.org/log4j/2.x/manual/customconfig.html#ConfigurationBuilder

The ConfigurationBuilder is demonstrated in [
* https://logging.apache.org/log4j/2.x/manual/customconfig.html#Example
* https://logging.apache.org/log4j/2.x/manual/customconfig.html#Configurator
] but not in [
* https://logging.apache.org/log4j/2.x/manual/customconfig.html#Hybrid
*
https://logging.apache.org/log4j/2.x/manual/customconfig.html#AddingToCurrent
].

Is this because it can/should not be used in those cases?

I would like do a hybrid configuration in which "configure(s) with a
configuration file but do(es) some additional programmatic configuration".
In addition I am wondering if I could use the configuration factory to
regenerate the logging context.
The idea is that the factory would retain custom information that would be
applied in the case of an automatic reload.
Is there a way to trigger an automatic reload?

Reply via email to