Hello all,

I've been using log4php via the .ini files to configure the loggers
and appenders. Up to 2.1.0 (maybe every version up to and not
including 2.2.0), a configuration like:

log4php.appender.default.file = ROOT_APPLICATION_PATH "/runtime/log/log.log"

would work as expected, replacing a php constant definition with the
correct value transparently.

Now, in 2.2.0 I noted this change in
configurators/LoggerConfigurationAdapterINI.php:

$properties = @parse_ini_file($url, true, INI_SCANNER_RAW);

I understand the reasons behind this change (according to the comments
in the code), but it's kind of a b/c breaker in this kind of use
cases.

Is this change irreversible? Is there anything that can be done to
restore this behaviour? It seems to me that it is a benefit to expect
the log4php ini files behave exactly as the php ini files (or it
should be documented otherwise if they ARE NOT php ini files from
2.2.0 and up).

I'm willing to work on a patch but I wanted to ask first if there is
any consensus about this that I should be aware of.

Thanks in advance,


--
// I don't sleep. I coffee.
"Make everything as simple as possible, but not simpler." -- Albert Einstein
"The class object inherits from Chuck Norris."
"Chuck Norris can divide by zero and can unit test an entire
application with a single assert."
"There’s a lot of work happening behind the scenes, courtesy of the
Spring AOP framework"
"Why do I have this nagging hunch that you have no idea what you're doing?"
"Any society that would give up a little liberty to gain a little
security will deserve neither and lose both" - Benjamin Franklin
"Delivering stupid software faster just get's you more stupid
software" - Jeff Patton
"Utilitas, Venustas, Firmitas"
"Stop breaking tests. Stop it. Just, stop."

Reply via email to