Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 25504 invoked from network); 1 Dec 2004 21:40:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 1 Dec 2004 21:40:36 -0000 Received: (qmail 84952 invoked by uid 500); 1 Dec 2004 21:40:12 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 84904 invoked by uid 500); 1 Dec 2004 21:40:12 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 84883 invoked by uid 99); 1 Dec 2004 21:40:12 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from cptrst2-mx.gtech.com (HELO gtech.com) (192.156.110.26) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 01 Dec 2004 13:40:10 -0800 Received: from ([156.24.14.43]) by ciphertrust2.gtech.com with ESMTP id KP-TDDA6.9250333; Wed, 01 Dec 2004 16:39:33 -0500 Received: by rimail01.mis.gtech.com with Internet Mail Service (5.5.2653.19) id ; Wed, 1 Dec 2004 16:39:33 -0500 Message-ID: <5167256D0F8AE24A852FB3E3D8B8EDC03EEC18@rimail4.gtk.gtech.com> From: "Pasula, Venugopal (Consultant)" To: "'axis-dev@ws.apache.org'" Subject: RE: how I can configure commons logger in log4j.properties. Date: Wed, 1 Dec 2004 16:39:27 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="ISO-8859-15" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi Marwan, Thanx for responding my mail. I tried that too but it didn't work. so what I did is I took all the axis source code and changed the references from commons Log to log4j.Logger class. then it worked out. still I am not understanding why it is not working for commons,logging.Log?? Actually I am doing this debug to figure out one problem. After processing some traction succesfully, axis is throwing a '500 Internal server error'. that time request is reaching the request handler but not the webservice. is there any limitation in axis to process request for certain amount of transactions?? or is there any bug in axis?? I am getting this error very freequently(for every 2-3 hours). please let me know if you have any solution for this problem. Thanx again, -Venu -----Original Message----- From: Marwan Semaan [mailto:marwan.semaan@incomit.com] Sent: Wednesday, December 01, 2004 10:57 AM To: axis-dev@ws.apache.org Subject: Re: how I can configure commons logger in log4j.properties. Hi, Change INFO to DEBUG or if you remove INFO then you have DEBUG as default /Marwan On Wed, 1 Dec 2004 10:30:38 -0500, Pasula, Venugopal (Consultant) wrote: > Hi, > I am sorry to post this question here. I configured my log4j.proprties > to > INFO, and set the system proprty log4j.configuration to the directory > where > this log4j.proprties file exist. in the file I could able to see my > application debug statements but not the axis api debug statements. I am > using log4j.Logger class and axis is using commons.Log class. If I want > to > see the axis debug statements, what are the changes I need to make. > please > anybody help me out.here is my log4j.properties file. > > ____________________________________________________________________________ > ____ > > # Properties for configuring Log4j > # This is the configuring for logging on the JUnit side (i.e. the client > side) > > log4j.rootCategory=INFO, CONSOLE, LOGFILE > log4j.logger.org.apache.axis.enterprise=INFO, CONSOLE , LOGFILE > > log4j.logger.org.apache.axis=INFO > log4j.logger.org.apache.axis.encoding=INFO > log4j.logger.org.apache.axis.utils=INFO > log4j.logger.org.apache.axis.message=INFO > log4j.logger.org.apache.AxisServlet=INFO > > # CONSOLE is set to be a ConsoleAppender using a PatternLayout. > log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender > log4j.appender.CONSOLE.Threshold=INFO > log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout > log4j.appender.CONSOLE.layout.ConversionPattern=- %m%n > > # LOGFILE is set to be a File appender using a PatternLayout. > log4j.appender.LOGFILE=org.apache.log4j.FileAppender > log4j.appender.LOGFILE.File=b2b.log > log4j.appender.LOGFILE.Append=true > log4j.appender.LOGFILE.Threshold=INFO > log4j.appender.LOGFILE.layout=org.apache.log4j.PatternLayout > log4j.appender.LOGFILE.layout.ConversionPattern=%-4r [%t] %-5p %c %x - > %m%n > > ----------------------------------------- > This email may contain confidential and privileged material for the sole > use of the intended recipient(s). Any review, use, retention, > distribution > or disclosure by others is strictly prohibited. If you are not the > intended > recipient (or authorized to receive for the recipient), please contact > the > sender by reply email and delete all copies of this message. Also, email > is > susceptible to data corruption, interception, tampering, unauthorized > amendment and viruses. We only send and receive emails on the basis that > we > are not liable for any such corruption, interception, tampering, > amendment > or viruses or any consequence thereof. > -- Using Opera's revolutionary e-mail client: http://www.opera.com/m2/ ----------------------------------------- This email may contain confidential and privileged material for the sole use of the intended recipient(s). Any review, use, retention, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message. Also, email is susceptible to data corruption, interception, tampering, unauthorized amendment and viruses. We only send and receive emails on the basis that we are not liable for any such corruption, interception, tampering, amendment or viruses or any consequence thereof.