[ mx4j-Bugs-954835 ] Do not write to System.out
"SourceForge.net" <[email protected]>
| Newsgroups | gmane.comp.java.mx4j.devel |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #954835, was opened at 2004-05-16 16:06
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=450647&aid=954835&group_id=47745
Category: HTTP Adaptor
Group: Release 2.0.1
Status: Open
Resolution: None
Priority: 5
Submitted By: Michael Rumpf (mrumpf)
Assigned to: Nobody/Anonymous (nobody)
Summary: Do not write to System.out
Initial Comment:
Hi,
the HTTP Adaptor writes the message "HttpAdaptor
version 2.0.1 started on port xxxxx" to System.out.
This causes troubles when incorporating the MX4J Http
Adapter and you are not able to redirect stdout.
because of other, important messages.
Either a quiet mode should be provided:
publkic void HttpAdaptor.setQuiet(boolean quiet)
{
mQuiet = quiet;
}
public boolean getQuiet()
{
return mQuiet;
}
and all System.out must be guarded by the following if
if (!getQuiet())
{
System.out.println();
}
Michael
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=450647&aid=954835&group_id=47745
-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click