Return-Path: Delivered-To: apmail-jakarta-log4j-user-archive@apache.org Received: (qmail 41417 invoked from network); 6 Feb 2002 18:21:29 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 6 Feb 2002 18:21:29 -0000 Received: (qmail 393 invoked by uid 97); 6 Feb 2002 18:21:26 -0000 Delivered-To: qmlist-jakarta-archive-log4j-user@jakarta.apache.org Received: (qmail 377 invoked by uid 97); 6 Feb 2002 18:21:26 -0000 Mailing-List: contact log4j-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Log4J Users List" Reply-To: "Log4J Users List" Delivered-To: mailing list log4j-user@jakarta.apache.org Received: (qmail 366 invoked from network); 6 Feb 2002 18:21:25 -0000 Message-Id: X-Mailer: Novell GroupWise Internet Agent 5.5.5.1 Date: Wed, 06 Feb 2002 13:21:20 -0500 From: "DONNIE HALE" To: Subject: Re: Best practice for using Log4j, EJB, Struts,and WebLogic6.1 together Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N We don't do any programmatic startup stuff. It's all in our log4j.propertie= s file. We do use NDCs. So we have a servlet filter which sets the NDC to a value = prefixed with "JSP" when the app is in the "web app space", and a dynamic = proxy which sets the NDC to a value prefixed with "EJB" when the app is in = the EJB space. But as far as configuration goes, it's strictly in the .properties file. Hope that helps, Donnie >>> eric.ma@comcast.net 02/05/02 08:18PM >>> Thanks Donnie and Ceki. One more question - how do you set up log4j? Do you use a WebLogic startup class (will tie you to an app server vendor)? A stateless session bean that is loaded in the free pool when the server starts up? Or other mechanism? -- To unsubscribe, e-mail: For additional commands, e-mail: