Return-Path: Delivered-To: apmail-commons-issues-archive@locus.apache.org Received: (qmail 57914 invoked from network); 20 Sep 2008 11:18:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Sep 2008 11:18:06 -0000 Received: (qmail 79577 invoked by uid 500); 20 Sep 2008 11:18:02 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 79498 invoked by uid 500); 20 Sep 2008 11:18:01 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 79487 invoked by uid 99); 20 Sep 2008 11:18:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 Sep 2008 04:18:01 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 Sep 2008 11:17:11 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 43EF3234C1DE for ; Sat, 20 Sep 2008 04:17:44 -0700 (PDT) Message-ID: <1646565219.1221909464277.JavaMail.jira@brutus> Date: Sat, 20 Sep 2008 04:17:44 -0700 (PDT) From: "Christopher Sahnwaldt (JIRA)" To: issues@commons.apache.org Subject: [jira] Created: (LOGGING-127) don't use setDefaultUseCaches() but setUseCaches() in LogFactory.getProperties() MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org don't use setDefaultUseCaches() but setUseCaches() in LogFactory.getProperties() --------------------------------------------------------------------------------- Key: LOGGING-127 URL: https://issues.apache.org/jira/browse/LOGGING-127 Project: Commons Logging Issue Type: Bug Affects Versions: Nightly Builds, 2.0 Reporter: Christopher Sahnwaldt The fix for LOGGING-126 introduced a call to URLConnection.setDefaultUseCaches() in LogFactory.getProperties(). This call should be changed to URLConnection.setUseCaches(), because URLConnection.setDefaultUseCaches() sets a static variable whose value affects the whole system, while URLConnection.setUseCaches() only affects its target instance. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.