I'm working on a new configurator for log4php.

The idea is to have a single Configurator object which "understands"
only configuration contained in a PHP array (like the one currently
used by LoggerConfiguratorPHP). Then, we have several Configuration
Adapters which can translate different configuration formats to a PHP
array.

This would mean that the same settings in XML and properties will
result in the same behaviour every time (currently that is not always
the case).

There is some early work here:
https://svn.apache.org/repos/asf/logging/log4php/branches/experimental/config-adapters/

Aditionally, the goal is to add good error reporting, since the
current configurators will hardly ever report when some setting cannot
be parsed.

What do you think? Should I go ahead with this for 2.2?

Regards,
Ivan

Reply via email to