Return-Path: Delivered-To: apmail-jakarta-log4j-user-archive@jakarta.apache.org Received: (qmail 51786 invoked by uid 500); 1 Sep 2001 07:10:29 -0000 Mailing-List: contact log4j-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: "LOG4J Users Mailing List" Delivered-To: mailing list log4j-user@jakarta.apache.org Received: (qmail 51774 invoked from network); 1 Sep 2001 07:10:29 -0000 Message-ID: <003201c132b5$7cdaada0$0200a8c0@trinity> From: "G.L. Grobe" To: Subject: log4j in j2ee app Date: Sat, 1 Sep 2001 02:12:40 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I just started working with Log4j and have a few questions about how to use it w/ a j2ee app. I don't know where to initialize the static Category so that my servlets, actions (MVC using webwork), and ejb's can see it. I'm sure I don't init this static category class in each servlet and every other entity that uses it, but I'm also now sure how to use this in a j2ee app. Also, I'm using JBoss and JBoss has a log4j.jar in the application classpath so I'm thinking that means it uses the app classloader instead of the web-app classloader to get at it (or a classloader at a high enough hierarchy to access it). Any help much appreciated. TIA --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: log4j-user-help@jakarta.apache.org