Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 82670 invoked from network); 9 Feb 2005 01:51:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 9 Feb 2005 01:51:55 -0000 Received: (qmail 62618 invoked by uid 500); 9 Feb 2005 01:51:53 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 62590 invoked by uid 500); 9 Feb 2005 01:51:52 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 62577 invoked by uid 99); 9 Feb 2005 01:51:52 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 08 Feb 2005 17:51:52 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (8.12.11/8.12.11) with ESMTP id j191pn3Z009810 for ; Wed, 9 Feb 2005 02:51:50 +0100 Received: (from nobody@localhost) by ajax.apache.org (8.12.11/8.12.11/Submit) id j191pn7G009808; Wed, 9 Feb 2005 02:51:49 +0100 Date: Wed, 9 Feb 2005 02:51:49 +0100 Message-Id: <200502090151.j191pn7G009808@ajax.apache.org> From: bugzilla@apache.org To: commons-dev@jakarta.apache.org Subject: DO NOT REPLY [Bug 32662] - [logging] Log writer not closed with log4j after restarting a webapp (Tomcat 5.0) X-Bugzilla-Reason: AssignedTo X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND� INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=32662 ------- Additional Comments From skitching@apache.org 2005-02-09 02:51 ------- Hi Richard, Ok, I'll buy the argument that commons-logging should be viewed as an API to wrap "use" but not "configuration" of the underlying concrete log library In this case, things are a bit more confusing because commons-logging *does* implicitly manage log4j's initialisation: when the first log4j Log instance is instantiated (via the appropriate commons-logging wrapper class), this triggers log4j to scan for a config file, load it, and initialise itself. And as loggers are often created as static members of classes, it is rather tricky to ensure that app-specific log initialisation code has been run before the first commons-logging Log object triggers log4j's default initialisation. Sorry if a solution to that has been raised on the logging email thread that occurred recently; I tried to keep up with that but the volume just got too great.. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org