You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Grant Ingersoll (JIRA)" <ji...@apache.org> on 2008/04/22 18:33:22 UTC
[jira] Created: (SOLR-548) Convert Solr to a more configurable
Logging framework
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
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.
[jira] Updated: (SOLR-548) Convert Solr to a more configurable
Logging framework
Posted by "Grant Ingersoll (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Commented: (SOLR-548) Convert Solr to a more configurable
Logging framework
Posted by "Henri Biestro (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12591996#action_12591996 ]
Henri Biestro commented on SOLR-548:
------------------------------------
Nabble's delay did hide this before I created SOLR-549. At least, we now have some options!
> 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.
[jira] Closed: (SOLR-548) Convert Solr to a more configurable
Logging framework
Posted by "Grant Ingersoll (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-548?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Grant Ingersoll closed SOLR-548.
--------------------------------
Resolution: Won't Fix
Defer to SLF4J discussion
> 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.