You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Max UNGER (Jira)" <ji...@apache.org> on 2019/11/18 17:12:00 UTC

[jira] [Commented] (LOG4PHP-234) Two plugin using log4php produces Fatal, although include_once used

    [ https://issues.apache.org/jira/browse/LOG4PHP-234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16976710#comment-16976710 ] 

Max UNGER commented on LOG4PHP-234:
-----------------------------------

Thanks! 

The problem here is that all plugins are going to log in the same file correct ?

What about logging in different log files for each plugin ?

Cheers

> Two plugin using log4php produces Fatal, although include_once used
> -------------------------------------------------------------------
>
>                 Key: LOG4PHP-234
>                 URL: https://issues.apache.org/jira/browse/LOG4PHP-234
>             Project: Log4php
>          Issue Type: Bug
>         Environment: ubuntu LTS 16
>            Reporter: Max UNGER
>            Priority: Critical
>
> Two wordpress plugins on the same install using log4php, loaded as explained in doc produce fatal error when used together:
> PHP Fatal error:  Cannot declare class LoggerAutoloader, because the name is already in use in /var/www/yyyyyyy.com/wp-content/plugins/myplugin/libs/log4php/2.3.0/LoggerAutoloader.php on line 34
> no change if include_once used instead of include



--
This message was sent by Atlassian Jira
(v8.3.4#803005)