Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 74084 invoked from network); 11 Jun 2007 05:50:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Jun 2007 05:50:07 -0000 Received: (qmail 25875 invoked by uid 500); 11 Jun 2007 05:50:02 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 25855 invoked by uid 500); 11 Jun 2007 05:50:01 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 25844 invoked by uid 99); 11 Jun 2007 05:50:01 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 10 Jun 2007 22:50:01 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [209.68.5.16] (HELO relay02.pair.com) (209.68.5.16) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 10 Jun 2007 22:49:57 -0700 Received: (qmail 72252 invoked by uid 0); 11 Jun 2007 05:49:36 -0000 Received: from 149.159.1.30 (HELO ?149.159.1.30?) (149.159.1.30) by relay02.pair.com with SMTP; 11 Jun 2007 05:49:36 -0000 X-pair-Authenticated: 149.159.1.30 Message-ID: <466CE272.7080808@opensource.lk> Date: Mon, 11 Jun 2007 01:49:38 -0400 From: Eran Chinthaka User-Agent: Thunderbird 1.5.0.12 (X11/20070509) MIME-Version: 1.0 To: axis-user@ws.apache.org Subject: Re: [Axis2] How to log traces on the server side ? References: <4666CC3F.8030508@alcatel-lucent.fr> In-Reply-To: <4666CC3F.8030508@alcatel-lucent.fr> X-Enigmail-Version: 0.94.1.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 If you are fine with using System.out statements, then make sure you start Tomcat with catalina run. Rather than invoking startup.bat/sh goto bin folder and type catalina.bat/sh run. You will be able to see your system.out messages. Stephane Roy wrote: > Hi, > > This must be a newbie question, anyway... > > I have an Axis2.1.2 web service deployed in Tomcat5.5. I would like to > log some traces from my server for debug purposes. So in the code, I wrote: > > ... > System.out.println("my debug trace"); > ... > > The problem is that I don't see these traces anywhere. > > I activated the logging mechanism for Axis2.1.2 and an axis2.log file is > indeed created when Axis2 is started in Tomcat, but my traces are not > logged into it. > > > How can I put some traces in my source code to be able to debug my web > service ? > Is there a tutorial somewhere for this ? > > I searched the Web and found this tutorial 'How to Debug a Web Service?' > (http://wso2.org/library/225). However I don't use Eclipse, so this is > not helping much. > > Thanks in advance. > > Stephane Roy > Alcatel-Lucent > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org > For additional commands, e-mail: axis-user-help@ws.apache.org > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGbOJxjON2uBzUhh8RAuW+AKCX+/aNn+07fHOVAzsqAxwIeetcNACeLlBe P6prck6uSSvjxoqdMRXHnY8= =pb9S -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-user-help@ws.apache.org