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

Robert Lu commented on LOG4PHP-98:
----------------------------------

In my option, if log4php is misconfigured, it will fallback to rootLogger.

So I think this isn't a bug, and should be closed.

> Check for invalid names on getLogger call
> -----------------------------------------
>
>                 Key: LOG4PHP-98
>                 URL: https://issues.apache.org/jira/browse/LOG4PHP-98
>             Project: Log4php
>          Issue Type: Improvement
>          Components: Code
>    Affects Versions: 2.0.0
>            Reporter: Florian Platzer
>            Priority: Trivial
>              Labels: call, check, fail, function, getlogger, initiate, 
> instance, name
>
> When calling the Logger::getLogger function a name-check would be helpful.
> So, if someone defines the logger "L1" and calls $_logger = 
> Logger::getLogger('L2'); an exception could be thrown



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to