Raintung Li created SOLR-4129:
---------------------------------

             Summary: Solr doesn't support log4j 
                 Key: SOLR-4129
                 URL: https://issues.apache.org/jira/browse/SOLR-4129
             Project: Solr
          Issue Type: Bug
          Components: SolrCloud
    Affects Versions: 4.0, 4.0-BETA, 4.0-ALPHA
            Reporter: Raintung Li


For many project use the log4j, actually solr use slf logger framework, slf can 
easy to integrate with log4j. 
But solr use log4j-over-slf.jar to handle log4j case.
This jar has some issues.
a. Actually last invoke slf to print the logger (for solr it is JDK14.logging).
b. Not implement all log4j function. ex. Logger.setLevel() 
c. JDK14 log miss some function, ex. thread.info, day rolling 

Some dependence project had been used log4j that the customer still want to use 
it, that  exist the configuration file. JDK14 log has many different with Log4j.

The bad thing is log4j-over-slf.jar conflict with log4j. The other project need 
remove it log4j.

We shouldn't use log4j-over-slf.jar, still reuse log4j if customer want to use 
it.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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

Reply via email to