lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benson Margulies (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-3426) CoreContainer goes looking for nonexistent Log4j class
Date Tue, 01 May 2012 16:45:45 GMT

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

Benson Margulies commented on SOLR-3426:
----------------------------------------

To be clear, the 'warning' is a screenful of backtraces, and that's pretty scary and annoying.


                
> CoreContainer goes looking for nonexistent Log4j class
> ------------------------------------------------------
>
>                 Key: SOLR-3426
>                 URL: https://issues.apache.org/jira/browse/SOLR-3426
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.0
>            Reporter: Benson Margulies
>         Attachments: solr-3426.patch
>
>
> The code quoted here from CoreContainer.java ends up looking for a class named Log4j
instead of Log4jWatcher. Neither name exists in the tree. 
>       // Now load the framework
>       if(fname!=null) {
>         if("JUL".equalsIgnoreCase(fname)) {
>           logging = new JulWatcher(slf4jImpl);
>         }
> //        else if( "Log4j".equals(fname) ) {
> //          logging = new Log4jWatcher(slf4jImpl);
> //        }
>         else {
>           try {
>             logging = loader.newInstance(fname, LogWatcher.class);
>           }
>           catch (Throwable e) {
>             log.warn("Unable to load LogWatcher", e);
>           }
>         }

--
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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message