Hi guys, The 2.2.1 release is being voted on on the dev mailing list: http://markmail.org/thread/ictidelq5selh4tm
This issue has been resolved by removing the INI_SCANNER_RAW flag. You are welcome to check it out and give your vote. Regards, Ivan On 28 January 2012 12:37, Marcelo Gornstein <marce...@gmail.com> wrote: > Hi Ivan, > >> INI files support will not be removed for the foreseeable future so you can >> continue using them if you're more comfortable that way. However, some >> features may not be configurable using the INI format (currently only >> filters). The reason for this is that INI format is increasingly harder to >> interpret as the configuration gets more complex. > I understand. Thanks for the clarification. > >> There is an easy way of converting your INI configuration to PHP: >> $conf = new LoggerConfiguratorDefault(); >> $conf->parse('config.ini'); >> >> This will return the equivalent PHP configuration array. > Excellent, that's very good to know. > >> Now, looking through the code base, there used to be an (undocumented) way >> of inserting constants in configuration params. But it seems that it was... >> erm... misplaced when I rewrote the configurator for v2.2. :) >> >> Prior to 2.2., this would have worked: >> log4php.appender.default.file = >> "${ROOT_APPLICATION_PATH}/runtime/log/log.log" >> >> The constant delimited by ${ } would be resolved during configuration. I can >> fix this to work for 2.3. and I would prefer doing this instead of removing >> the SCANNER_RAW option. >> >> Would this solve all your problems? > Well, it is still a b/c break :) But it would be nice to have a chance > to use constants in the ini files again. > > I'll wait until the next release to make a decision based on how this turns > out. > > Thank you very much for your efforts, Ivan. > > Best, > > > -- > > -- > // 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."