Hi

I have been trying out the new WFS-NG in 12-beta to see if it works better than 
the old WFS module. While doing so, I suddenly had troubles printing to 
standard out. It turns out that not only does WFS-NG print requests and 
responses straight to System.out and System.err without going through the 
logging framework, it also closes System.out after doing so. The offender seems 
to be org.geotools.data.wfs.internal.DescribeFeatureTypeResponse. The 
TeeOutputStream used to write a copy of the response to System.out closes both 
streams when it is closed, not just the original output as I think is intended. 
Even if WFS-NG isn't considered stable yet, closing System.out is a rather 
nasty thing to do.


Regards

Tor Egil Riegels Strand
Developer
Direct: +47 32 11 81 61
E-mail: tor.egil.str...@kartverket.no

Switchboard: +47 32 11 83 00
www.kartverket.no

------------------------------------------------------------------------------
_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to