[
https://issues.apache.org/jira/browse/SOLR-548?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Grant Ingersoll updated SOLR-548:
---------------------------------
Attachment: SOLR-548.patch
Updates Solr to use commons-logging per discussion on Solr dev w/ subject "Solr
Logging" (not in Nabble archives yet). The jar file can be grabbed from
clients/solrj/lib and put in ./lib.
logging.jsp has been mostly commented out and replaced with "FIX ME" or TODO
comments.
Otherwise, all tests pass and I did click around the Admin as well and it seems
good.
Patch also does an "Optimize Imports" on all source files, to remove stagnant
imports for Loggers, etc.
> Convert Solr to a more configurable Logging framework
> -----------------------------------------------------
>
> Key: SOLR-548
> URL: https://issues.apache.org/jira/browse/SOLR-548
> Project: Solr
> Issue Type: Improvement
> Reporter: Grant Ingersoll
> Assignee: Grant Ingersoll
> Attachments: SOLR-548.patch
>
>
> JDK Logging is clunky at best and hard to configure. It also does not play
> nice in web frameworks, since it requires a lot of hacking, or JVM level
> configuration.
> Commons-logging provides a mechanism for supporting several logging
> frameworks, so users can choose the appropriate logging mechanism.
> Additionally, we are already using commons-logging in SolrJ.
> Patch to follow that converts Solr code to commons-logging.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.