You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Ryan McKinley (Created) (JIRA)" <ji...@apache.org> on 2012/04/13 02:31:18 UTC
[jira] [Created] (SOLR-3356) Logging UI (and LogLevelHandler)
should support Log4j
Logging UI (and LogLevelHandler) should support Log4j
-----------------------------------------------------
Key: SOLR-3356
URL: https://issues.apache.org/jira/browse/SOLR-3356
Project: Solr
Issue Type: Improvement
Reporter: Ryan McKinley
Assignee: Ryan McKinley
Priority: Minor
Fix For: 4.0
The Logging UI and LogLevelHandler can work using Log4j rather then just JUL
--
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
[jira] [Updated] (SOLR-3356) Logging UI (and LogLevelHandler)
should support Log4j
Posted by "Ryan McKinley (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-3356?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ryan McKinley updated SOLR-3356:
--------------------------------
Attachment: SOLR-3356-log4j.patch
this uses reflection to make the Log4j setLevel call
It also adds info to the header that says which framework is enabled:
{code:xml}
<str name="framework">java.util.logging</str>
<str name="slfj4">org.slf4j.impl.JDK14LoggerFactory</str>
{code}
{code:xml}
<str name="framework">log4j</str>
<str name="slfj4">org.slf4j.impl.Log4jLoggerFactory</str>
{code}
> Logging UI (and LogLevelHandler) should support Log4j
> -----------------------------------------------------
>
> Key: SOLR-3356
> URL: https://issues.apache.org/jira/browse/SOLR-3356
> Project: Solr
> Issue Type: Improvement
> Reporter: Ryan McKinley
> Assignee: Ryan McKinley
> Priority: Minor
> Fix For: 4.0
>
> Attachments: SOLR-3356-log4j.patch
>
>
> The Logging UI and LogLevelHandler can work using Log4j rather then just JUL
--
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
[jira] [Commented] (SOLR-3356) Logging UI (and LogLevelHandler)
should support Log4j
Posted by "Steven Rowe (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-3356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13254160#comment-13254160 ]
Steven Rowe commented on SOLR-3356:
-----------------------------------
I got the wrong jar: {{slf4j-jdk14}} contains package {{org.slf4j.impl}}, not {{log4j-over-slf4j}}; this is the one I think the Maven solr-core module should have a compile scope dependency on.
> Logging UI (and LogLevelHandler) should support Log4j
> -----------------------------------------------------
>
> Key: SOLR-3356
> URL: https://issues.apache.org/jira/browse/SOLR-3356
> Project: Solr
> Issue Type: Improvement
> Reporter: Ryan McKinley
> Assignee: Ryan McKinley
> Priority: Minor
> Fix For: 4.0
>
> Attachments: SOLR-3356-log4j.patch
>
>
> The Logging UI and LogLevelHandler can work using Log4j rather then just JUL
--
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
[jira] [Resolved] (SOLR-3356) Logging UI (and LogLevelHandler)
should support Log4j
Posted by "Ryan McKinley (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-3356?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ryan McKinley resolved SOLR-3356.
---------------------------------
Resolution: Fixed
> Logging UI (and LogLevelHandler) should support Log4j
> -----------------------------------------------------
>
> Key: SOLR-3356
> URL: https://issues.apache.org/jira/browse/SOLR-3356
> Project: Solr
> Issue Type: Improvement
> Reporter: Ryan McKinley
> Assignee: Ryan McKinley
> Priority: Minor
> Fix For: 4.0
>
> Attachments: SOLR-3356-log4j.patch
>
>
> The Logging UI and LogLevelHandler can work using Log4j rather then just JUL
--
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
[jira] [Commented] (SOLR-3356) Logging UI (and LogLevelHandler)
should support Log4j
Posted by "Stefan Matheis (steffkes) (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-3356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13254343#comment-13254343 ]
Stefan Matheis (steffkes) commented on SOLR-3356:
-------------------------------------------------
I've added a small header on the logging-tab which shows the newly added informations, committed in r1326355
> Logging UI (and LogLevelHandler) should support Log4j
> -----------------------------------------------------
>
> Key: SOLR-3356
> URL: https://issues.apache.org/jira/browse/SOLR-3356
> Project: Solr
> Issue Type: Improvement
> Reporter: Ryan McKinley
> Assignee: Ryan McKinley
> Priority: Minor
> Fix For: 4.0
>
> Attachments: SOLR-3356-log4j.patch
>
>
> The Logging UI and LogLevelHandler can work using Log4j rather then just JUL
--
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
[jira] [Commented] (SOLR-3356) Logging UI (and LogLevelHandler)
should support Log4j
Posted by "Ryan McKinley (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-3356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13253508#comment-13253508 ]
Ryan McKinley commented on SOLR-3356:
-------------------------------------
Added in r1325828
This uses {{StaticLoggerBinder.getSingleton().getLoggerFactoryClassStr()}} to detect the logging framework, and will do the right thing for JUL or Log4j
otherwise it will return an error
> Logging UI (and LogLevelHandler) should support Log4j
> -----------------------------------------------------
>
> Key: SOLR-3356
> URL: https://issues.apache.org/jira/browse/SOLR-3356
> Project: Solr
> Issue Type: Improvement
> Reporter: Ryan McKinley
> Assignee: Ryan McKinley
> Priority: Minor
> Fix For: 4.0
>
> Attachments: SOLR-3356-log4j.patch
>
>
> The Logging UI and LogLevelHandler can work using Log4j rather then just JUL
--
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
[jira] [Commented] (SOLR-3356) Logging UI (and LogLevelHandler)
should support Log4j
Posted by "Steven Rowe (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-3356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13254158#comment-13254158 ]
Steven Rowe commented on SOLR-3356:
-----------------------------------
Ryan,
Under the maven build, all solr modules have {{log4j-over-slf4j}} as a *test* scope dependency, but the solr-core module doesn't have it as a compile scope dependency. As a result of this missing dependency, [compilation failures ensue|https://builds.apache.org/job/Lucene-Solr-Maven-trunk/455/consoleText].
Shouldn't the Maven solr-core module have a compile scope dependency on {{log4j-over-slf4j}}?
> Logging UI (and LogLevelHandler) should support Log4j
> -----------------------------------------------------
>
> Key: SOLR-3356
> URL: https://issues.apache.org/jira/browse/SOLR-3356
> Project: Solr
> Issue Type: Improvement
> Reporter: Ryan McKinley
> Assignee: Ryan McKinley
> Priority: Minor
> Fix For: 4.0
>
> Attachments: SOLR-3356-log4j.patch
>
>
> The Logging UI and LogLevelHandler can work using Log4j rather then just JUL
--
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