Return-Path: Delivered-To: apmail-logging-log4j-user-archive@www.apache.org Received: (qmail 73742 invoked from network); 29 Mar 2006 15:45:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 Mar 2006 15:45:24 -0000 Received: (qmail 59636 invoked by uid 500); 29 Mar 2006 15:45:18 -0000 Delivered-To: apmail-logging-log4j-user-archive@logging.apache.org Received: (qmail 59515 invoked by uid 500); 29 Mar 2006 15:45:17 -0000 Mailing-List: contact log4j-user-help@logging.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Log4J Users List" Reply-To: "Log4J Users List" Delivered-To: mailing list log4j-user@logging.apache.org Received: (qmail 59402 invoked by uid 99); 29 Mar 2006 15:45:17 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Mar 2006 07:45:17 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_PASS,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of DHoffer@xrite.com designates 207.242.38.10 as permitted sender) Received: from [207.242.38.10] (HELO [207.242.38.2]) (207.242.38.10) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Mar 2006 07:45:15 -0800 Received: from xrmandc1.manchester.xrite.com by [207.242.38.2] via smtpd (for asf.osuosl.org [140.211.166.49]) with ESMTP; Wed, 29 Mar 2006 10:44:54 -0500 Received: (private information removed) X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: How to get log4j to work with commons-logging in web service app? Date: Wed, 29 Mar 2006 10:44:51 -0500 Message-ID: <31A79A99946C084AA0F433FDF70639D1127E211B@XRMAIL.XRITE.COM> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: How to get log4j to work with commons-logging in web service app? Thread-Index: AcZTOMH6Mz7juLr2RwmGHimwAwMdsgADtyQQ From: "Dave Hoffer" To: "Log4J Users List" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Ceki, We are using Jetty version 5.1.3. -dh -----Original Message----- From: Ceki G=FClc=FC [mailto:listid@qos.ch]=20 Sent: Wednesday, March 29, 2006 8:57 AM To: Log4J Users List Subject: RE: How to get log4j to work with commons-logging in web = service app? Hello Dave, Are you using by any chance using Jetty 6? At 03:17 PM 3/29/2006, Dave Hoffer wrote: >Jake, > >Yes it does. However we may be doing things a bit different/wrong. = Our >web app is AXIS. We don't have a non-packaged class and we don't have = a >main per see. We use AXIS to expose the public methods of one class >packaged in a jar with a namespace of com.company.product. This jar = and >all its dependencies are located in jetty/webapps/axis/WEB_INF/lib. > >I tried adding the log4j.properties file to this jar and to >WEB_INF/classes with no luck. > >Now, if we uncomment the Configure Jetty Logging section in Jetty's >etc/Jetty.xml file, we get our logging output included with Jetty's log >output. However, we don't yet know how to configure this output, i.e. >set log level, etc. > >I suspect that since we are using commons-logging and because it can't >find our log4j.properties file, our logging is getting directed to = Jetty >somehow. > >-dh --=20 Ceki G=FClc=FC http://ceki.blogspot.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org For additional commands, e-mail: log4j-user-help@logging.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org For additional commands, e-mail: log4j-user-help@logging.apache.org