axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Omar Benjelloun" <omar.benjell...@inria.fr>
Subject Re: Debug info not being displayed
Date Tue, 13 Nov 2001 16:51:19 GMT
It worked,

Thanks,

Omar

----- Original Message -----
From: "Weber, Lance" <Lance.Weber@McKesson.com>
To: <axis-user@xml.apache.org>
Sent: Tuesday, November 13, 2001 5:47 PM
Subject: RE: Debug info not being displayed


> Well, in the nightly build I have from ~7-10 days ago, there was a
> log4j.properties file actually in the axis.jar file. Try removing it from
> the jar and then modifying the log4j.properties you put into your
> WEB-INF/classes as follows:
>
> From
> log4j.rootCategory=FATAL, A1
>
> To
> log4j.rootCategory=DEBUG, A1
>
> This should dump every log statement to console for you. See the log4j
docs
> on adding file appenders or more finely tuning the output you need.
>
> Hope this helps,
>
> Lance Weber
>
> -----Original Message-----
> From: Omar Benjelloun [mailto:omar.benjelloun@inria.fr]
> Sent: Tuesday, November 13, 2001 9:41 AM
> To: axis-user@xml.apache.org
> Subject: Re: Debug info not being displayed
>
>
> Hi,
>
> Could you explain briefly how to display debug info ?
>
> I tryed copying log4j.properties into WEB-INF/classes and restarted
Tomcat,
> but still, nothing appears in my console.
>
> Thanks,
>
> Omar
>
> I tryed copy
> ----- Original Message -----
> From: "Tim Johnson" <Tim.Johnson@Sunquest.com>
> To: <axis-user@xml.apache.org>
> Sent: Monday, November 12, 2001 8:58 PM
> Subject: Debug info not being displayed
>
>
> > I couldn't get the debug stuff to show, so I stepped thru the code and I
> > think
> > I know why: In the Options construct we should be calling isValueSet
> instead
> > os isFlagSet. isValueSet will return my new priority of 4, where as
> > isFlagSet
> > always returns 1. I know this is pretty trival, but I thought I would
let
> > someone
> > know.
> >
> > This is from 11/9 nightly build:
> >
> >  public Options(String _args[]) throws MalformedURLException {
> >         args = _args ;
> >         usedArgs = null ;
> >         defaultURL = new
> > URL("http://localhost:8080/axis/servlet/AxisServlet");
> >
> >
> > ///////////////////////////////////////////////////////////////////////
> >         // SOASS
> >
> >         /* Process these well known options first */
> >         /******************************************/
> >         try {
> >             getURL();
> >         } catch( MalformedURLException e ) {
> >             category.error( "getURL failed to correctly process URL;
> > protocol not " +
> >                             "supported" );
> >             throw e ;
> >         }
> >         getUser();
> >         getPassword();
> >
> >         // Increase log4j verbosity based on number of "-d" options
> > specified.
> >         //int debug = isFlagSet('d');
> >         int debug = isValueSet('d');
> >         if (debug>0) {
> >             Priority[] allPriorities =
> Priority.getAllPossiblePriorities();
> >             Priority currentPriority = Category.getRoot().getPriority();
> >             for (int i=0; i<allPriorities.length; i++) {
> >                 if (currentPriority == allPriorities[i]) {
> >                     i += debug;
> >                     if (i>=allPriorities.length)
i=allPriorities.length-1;
> >                     Category.getRoot().setPriority(allPriorities[i]);
> >                     break;
> >                 }
> >             }
> >         }
> >
> >
>
>
>
>
___________________________________________________________________________
> CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is
> for the sole use of the intended recipient(s) and may contain confidential
> and privileged information.  Any unauthorized review, use, disclosure or
> distribution is prohibited.  If you are not the intended recipient, please
> contact the sender by reply e-mail and destroy all copies of the original
> message.
>


Mime
View raw message