Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@www.apache.org Received: (qmail 15405 invoked from network); 5 Feb 2005 21:44:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 5 Feb 2005 21:44:58 -0000 Received: (qmail 23292 invoked by uid 500); 5 Feb 2005 21:44:53 -0000 Delivered-To: apmail-jakarta-tomcat-dev-archive@jakarta.apache.org Received: (qmail 23269 invoked by uid 500); 5 Feb 2005 21:44:53 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 23256 invoked by uid 99); 5 Feb 2005 21:44:53 -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; Sat, 05 Feb 2005 13:44:51 -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 j15Linfh031269 for ; Sat, 5 Feb 2005 22:44:49 +0100 Received: (from nobody@localhost) by ajax.apache.org (8.12.11/8.12.11/Submit) id j15LimPq031266; Sat, 5 Feb 2005 22:44:48 +0100 Date: Sat, 5 Feb 2005 22:44:48 +0100 Message-Id: <200502052144.j15LimPq031266@ajax.apache.org> From: bugzilla@apache.org To: tomcat-dev@jakarta.apache.org Subject: DO NOT REPLY [Bug 33143] - [PATCH] Java 1.4 loggers per context 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=33143 hoju@visi.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hoju@visi.com ------- Additional Comments From hoju@visi.com 2005-02-05 22:44 ------- I would suggest switching to Log4j 1.3 or the UGLI API ( http://logging.apache.org/log4j/docs/ugli.html ), of which there are implementations for Log4j, JDK1.4 logging, simple system.out logging, and NOP. You decide which implementation by providing it in the classpath and never change the API you reference. Kind of like commons-logging, but without the brittleness of the discovery system. Anyway, if you use Log4j as the implementation (directly or via UGLI-Log4j), you can use a repository selector ( http://www.qos.ch/logging/sc.jsp ) which will effectively separate container logging from application logging using a single instance of Log4j (in common/lib). Actually, you can share logging by giving two apps the same logger repository name to use. Read the Javadoc for more info... http://cvs.apache.org/viewcvs.cgi/logging-log4j/src/java/org/apache/log4j/selector/ContextJNDISelector.java?rev=1.18&view=markup Jake -- 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: tomcat-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org