[
https://issues.apache.org/jira/browse/LOG4PHP-118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Christian Grobmeier resolved LOG4PHP-118.
-----------------------------------------
Resolution: Fixed
Committed with rv 1071033 - thanks for the patch!
> Additivity cannot be disabled through log4php.properties ini file.
> ------------------------------------------------------------------
>
> Key: LOG4PHP-118
> URL: https://issues.apache.org/jira/browse/LOG4PHP-118
> Project: Log4php
> Issue Type: Bug
> Components: Code
> Affects Versions: 2.0
> Environment: PHP 5.3 Windows
> Reporter: Craig Marvelley
> Fix For: 2.1
>
> Attachments: additivity_patch.patch
>
>
> The code in LoggerConfiguratorIni that parses the additivity setting does a
> check on the value of the config option to see if it is empty() before it
> applies it - since this option has previously been parsed by parse_ini_file
> any falsey values will not pass this check, so additivity cannot be disabled.
> I've attached a patch which removes the check. Additivity is still on by
> default should the option not be set, so everything seems to work as normal
> otherwise.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira