axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Glen Daniels <gdani...@macromedia.com>
Subject RE: Convert System.out.println and System.err.println to log4j eq uivalents.
Date Thu, 18 Oct 2001 13:34:19 GMT

+1 to leaving System.outs in the samples and not forcing log4j usage there.

> -----Original Message-----
> From: Russell Butek [mailto:butek@us.ibm.com]
> Sent: Thursday, October 18, 2001 8:33 AM
> To: axis-dev@xml.apache.org
> Subject: Re: Convert System.out.println and 
> System.err.println to log4j
> equivalents.
> 
> 
> My personal opinion is no.  These are samples.  They should 
> be simple.  A
> novice user of AXIS shouldn't be required to understand log4j 
> to understand
> AXIS.
> 
> On the other hand, we use these samples in the tests and it 
> would be real
> handy if the tests didn't report anything but success or 
> failure unless we
> ask for details.  Perhaps the tests, before running the 
> sample code, should
> replace System.out and System.err with PrintStreams that send 
> the output to
> log4j?
> 
> Russell Butek
> butek@us.ibm.com
> 
> 
> Davanum Srinivas <dims@yahoo.com> on 10/18/2001 07:20:46 AM
> 
> Please respond to axis-dev@xml.apache.org
> 
> To:   axis-dev@xml.apache.org
> cc:
> Subject:  Convert System.out.println and System.err.println to log4j
>       equivalents.
> 
> 
> 
> Team,
> 
> I noticed a boat-load of System.out.println's and 
> System.out.println's in
> java\samples\**.java and
> java\test\**.java. Shall i change them as follows:
> System.out.println -> category.info
> System.err.println -> category.error
> 
> The automated test output will  be lot cleaner this way.
> 
> Thanks,
> dims
> 
> 
> =====
> Davanum Srinivas - http://jguru.com/dims/
> 
> __________________________________________________
> Do You Yahoo!?
> Make a great connection at Yahoo! Personals.
> http://personals.yahoo.com
> 
> 

Mime
View raw message