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

Steven Rowe commented on SOLR-3358:
-----------------------------------

bq. For the ant build path, any suggestions? 

All {{solr/lib/}} jars are put on the compilation classpath via the 
{{additional.dependencies}} path.  I added {{log4j-over-slf4j}} to the exclude 
list and compile/test for all solr+contribs succeeds:

{code:xml}
  <path id="additional.dependencies">
-   <fileset dir="${common-solr.dir}/lib" 
excludes="${common.classpath.excludes}"/>
+   <fileset dir="${common-solr.dir}/lib"
+            excludes="${common.classpath.excludes},log4j-over-slf4j*"/>
    <fileset dir="${common-solr.dir}/example/lib" 
excludes="${common.classpath.excludes}"/>
    <fileset dir="lib" excludes="${common.classpath.excludes}" 
erroronmissingdir="false"/>
  </path>
{code}

bq. we can exclude it from core, and then add it back to the .war file. I'm not 
sure how to get the ivy stuff setup to have .war dependencies though.

{{ant dist}} under {{solr/webapp/}}, which produces the .war, doesn't use 
{{additional.dependencies}} - instead it uses {{common.classpath.excludes}}.  
So I think with the above change, {{log4j-over-slf4j}} will continue to be 
included in the .war.
                
> 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-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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to