Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0FCD57AAB for ; Wed, 23 Nov 2011 15:04:04 +0000 (UTC) Received: (qmail 11972 invoked by uid 500); 23 Nov 2011 15:04:02 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 11918 invoked by uid 500); 23 Nov 2011 15:04:02 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 11908 invoked by uid 99); 23 Nov 2011 15:04:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Nov 2011 15:04:02 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Nov 2011 15:04:01 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 6225899BF8 for ; Wed, 23 Nov 2011 15:03:41 +0000 (UTC) Date: Wed, 23 Nov 2011 15:03:41 +0000 (UTC) From: =?utf-8?Q?Jan_H=C3=B8ydahl_=28Updated=29_=28JIRA=29?= To: dev@lucene.apache.org Message-ID: <1475348160.6060.1322060621403.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1772449918.18265.1304422503664.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (SOLR-2487) Do not include slf4j-jdk14 jar in WAR MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SOLR-2487?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:all-tabpanel ] Jan H=C3=B8ydahl updated SOLR-2487: ------------------------------ Attachment: SOLR-2487.patch New patch with target name "dist-war-excl-slf4j". Now the exclude.from.war = param also works across the whole war. I tested the params with the dist target and it also works equivalently: {noformat} ant -Dexclude.from.war=3D*over-slf4j*,slf4j-jdk14* -Dsolr.war.suffix=3D--ex= cl-slf4j clean dist {noformat} =20 > 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=C3=B8ydahl > Labels: logging, slf4j > Attachments: SOLR-2487.patch, SOLR-2487.patch > > > I know we've intentionally bundled slf4j-jdk14-1.5.5.jar in the war to he= lp newbies get up and running. But I find myself re-packaging the war for e= very customer when adapting to their choice of logger framework, which is c= ounter-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. If you think it was sent incorrectly, please contact your JIRA administrato= rs: https://issues.apache.org/jira/secure/ContactAdministrators!default.jsp= a 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