You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4php-dev@logging.apache.org by "Florian Semm (JIRA)" <ji...@apache.org> on 2012/06/22 06:55:43 UTC

[jira] [Created] (LOG4PHP-183) Warning when use 'LoggerConfigurationAdapterPHP' as Logger-Configurator

Florian Semm created LOG4PHP-183:
------------------------------------

             Summary: Warning when use 'LoggerConfigurationAdapterPHP' as Logger-Configurator
                 Key: LOG4PHP-183
                 URL: https://issues.apache.org/jira/browse/LOG4PHP-183
             Project: Log4php
          Issue Type: Bug
            Reporter: Florian Semm


'LoggerConfigurationAdapterPHP' doesn't implement the 'LoggerConfigurator' interface.

We can remove the parameter $configuration in Logger::configure() method and use always the 'LoggerConfiguratorDefault'. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Closed] (LOG4PHP-183) Warning when use 'LoggerConfigurationAdapterPHP' as Logger-Configurator

Posted by "Florian Semm (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LOG4PHP-183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Florian Semm closed LOG4PHP-183.
--------------------------------

    Resolution: Not A Problem
    
> Warning when use 'LoggerConfigurationAdapterPHP' as Logger-Configurator
> -----------------------------------------------------------------------
>
>                 Key: LOG4PHP-183
>                 URL: https://issues.apache.org/jira/browse/LOG4PHP-183
>             Project: Log4php
>          Issue Type: Bug
>            Reporter: Florian Semm
>
> 'LoggerConfigurationAdapterPHP' doesn't implement the 'LoggerConfigurator' interface.
> We can remove the parameter $configuration in Logger::configure() method and use always the 'LoggerConfiguratorDefault'. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (LOG4PHP-183) Warning when use 'LoggerConfigurationAdapterPHP' as Logger-Configurator

Posted by "Ivan Habunek (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LOG4PHP-183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13399866#comment-13399866 ] 

Ivan Habunek commented on LOG4PHP-183:
--------------------------------------

Sven is right, configurator != configurationAdapter. You configure Logger using a configurator, and the configurator uses adapters to translate various configuration files to an config array.

Not sure what you had in mind here...
                
> Warning when use 'LoggerConfigurationAdapterPHP' as Logger-Configurator
> -----------------------------------------------------------------------
>
>                 Key: LOG4PHP-183
>                 URL: https://issues.apache.org/jira/browse/LOG4PHP-183
>             Project: Log4php
>          Issue Type: Bug
>            Reporter: Florian Semm
>
> 'LoggerConfigurationAdapterPHP' doesn't implement the 'LoggerConfigurator' interface.
> We can remove the parameter $configuration in Logger::configure() method and use always the 'LoggerConfiguratorDefault'. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (LOG4PHP-183) Warning when use 'LoggerConfigurationAdapterPHP' as Logger-Configurator

Posted by "Sven Rautenberg (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LOG4PHP-183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13399712#comment-13399712 ] 

Sven Rautenberg commented on LOG4PHP-183:
-----------------------------------------

None of the LoggerConfigurationAdapterFOO classes does implement this interface, they are all implementing LoggerConfigurationAdapter. What am I missing?
                
> Warning when use 'LoggerConfigurationAdapterPHP' as Logger-Configurator
> -----------------------------------------------------------------------
>
>                 Key: LOG4PHP-183
>                 URL: https://issues.apache.org/jira/browse/LOG4PHP-183
>             Project: Log4php
>          Issue Type: Bug
>            Reporter: Florian Semm
>
> 'LoggerConfigurationAdapterPHP' doesn't implement the 'LoggerConfigurator' interface.
> We can remove the parameter $configuration in Logger::configure() method and use always the 'LoggerConfiguratorDefault'. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira