lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steven Rowe (Issue Comment Edited) (JIRA)" <j...@apache.org>
Subject [jira] [Issue Comment Edited] (SOLR-3358) Capture Logging Events from JUL and Log4j
Date Wed, 18 Apr 2012 17:16:40 GMT

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

Steven Rowe edited comment on SOLR-3358 at 4/18/12 5:14 PM:
------------------------------------------------------------

bq. So I think with the above change, log4j-over-slf4j will continue to be included in the
.war.

Confirmed - after running {{ant dist}} from {{solr/webapp/}} with the above change in {{solr/common-build.xml}},
I can see from running {{jar tvf solr/dist/*.war}}:

{noformat}
...
481535 Wed Mar 31 00:25:34 EDT 2010 WEB-INF/lib/log4j-1.2.16.jar
 20639 Mon Oct 31 18:46:50 EDT 2011 WEB-INF/lib/log4j-over-slf4j-1.6.4.jar
...
{noformat}

But as you can see, {{log4j}} is still there - is that intentional, Ryan?

                
      was (Author: steve_rowe):
    bq. So I think with the above change, log4j-over-slf4j will continue to be included in
the .war.

Confirmed - after running {{ant dist}} from {{solr/webapp/}} with the above change in {{solr/common-build.xml}},
I can see from running {{tar tvf solr/dist/*.war}}:

{noformat}
...
481535 Wed Mar 31 00:25:34 EDT 2010 WEB-INF/lib/log4j-1.2.16.jar
 20639 Mon Oct 31 18:46:50 EDT 2011 WEB-INF/lib/log4j-over-slf4j-1.6.4.jar
...
{noformat}

But as you can see, {{log4j}} is still there - is that intentional, Ryan?

                  
> Capture Logging Events from JUL and Log4j
> -----------------------------------------
>
>                 Key: SOLR-3358
>                 URL: https://issues.apache.org/jira/browse/SOLR-3358
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Ryan McKinley
>            Assignee: Ryan McKinley
>         Attachments: SOLR-3358-compile-path.patch, SOLR-3358-logging.patch, SOLR-3358-logging.patch
>
>
> The UI should be able to show the last few log messages.  To support this, we will need
to register an Appender (log4j) or Handler
> (JUL) and keep a buffer of recent log events.

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