You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Jan Høydahl (JIRA)" <ji...@apache.org> on 2011/05/20 20:59:52 UTC

[jira] [Issue Comment Edited] (SOLR-2487) Do not include slf4j-jdk14 jar in WAR

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

Jan Høydahl edited comment on SOLR-2487 at 5/20/11 6:59 PM:
------------------------------------------------------------

@Hoss, I like your option #1 with an ant option; no need to increase the size of the distro.

That would also solve the need for those that want no binding or another binding.

Alternatively we could also include a script in the binary distro which creates a war without a binding.

      was (Author: janhoy):
    @Hoss, I like your option #1 with an ant option; no need to increase the size of the distro.

That would also solve the need for those that want no binding or another binding.

In addition, it is perfectly possible to write a new ANT target which creates a new dist/apache-solr-3.1.0-no-slf4j-bindings.war based on the default dist/apache-solr-3.1.0.war. This can then also be run from the binary distribution!
  
> Do not include slf4j-jdk14 jar in WAR
> -------------------------------------
>
>                 Key: SOLR-2487
>                 URL: https://issues.apache.org/jira/browse/SOLR-2487
>             Project: Solr
>          Issue Type: Improvement
>          Components: Build
>    Affects Versions: 3.2, 4.0
>            Reporter: Jan Høydahl
>              Labels: logging, slf4j
>
> I know we've intentionally bundled slf4j-jdk14-1.5.5.jar in the war to help newbies get up and running. But I find myself re-packaging the war for every customer when adapting to their choice of logger framework, which is counter-productive.
> It would be sufficient to have the jdk-logging binding in example/lib to let the example and tutorial still work OOTB but as soon as you deploy solr.war to production you're forced to explicitly decide what logging to use.

--
This message is automatically generated by JIRA.
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