[ 
https://issues.apache.org/jira/browse/LOG4PHP-118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Christian Grobmeier updated LOG4PHP-118:
----------------------------------------

    Affects Version/s:     (was: 2.0)
                       2.1

> 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.1
>         Environment: PHP 5.3 Windows
>            Reporter: Craig Marvelley
>         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.
-
You can reply to this email to add a comment to the issue online.

Reply via email to