Open XSven opened 1 year ago
Could this be prioritized please. It is really annoying not to be able to configure appenders in a .properties file and bind them to a logger at runtime! Instead we are forced to bind all appenders and at runtime using eradicate_appender()
instead.
This configuration
defines a logger
Foo
and two appendersSTDERR
andFILE
. TheSTDERR
appender is bound to the logger; theFILE
is not bound to any logger. It is not possible to get theFILE
appender instance using either the class methodappender_by_name()
or$Log::Log4perl::Logger::APPENDER_BY_NAME{...}
.