axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Davis" <>
Subject Re: Debug.setDebugLevel question
Date Tue, 31 Jul 2001 15:51:16 GMT
Oh geez - thanks for finding that - I've been meaning to look into
why the -d option stopped working but never found the time.
'course - no time to fix it - but it's nice to know why it stopped working.

Russell Butek/Austin/IBM@IBMUS on 07/31/2001 11:31:41 AM

Please respond to

Subject:  Debug.setDebugLevel question

Is Debug.setDebugLevel (...) meant to be publicly available?  The address
book sample has:

        Debug.setDebugLevel( opts.isFlagSet( 'd' ) );

which implies that it IS meant to be publicly available.  This line sets
the debug level to 1.  HOWEVER, not long after, in AxisEngine.init, the
following lines are executed:

        String propVal = props.getProperty(PROP_DEBUG_LEVEL, "0");

which gets the debug level from and I've lost what was set
in the sample.

It seems to me that, if Debug.setDebugLevel is meant to be public, then the
level set through Debug.setDebugLevel should override the level acquired
from  If it is NOT meant to be public, it should be
removed from any samples.

Russell Butek

View raw message