Java printwriter -
Java printwriter -
i have proxy class, receives request , send request server , gets response , directs original requestor. utilize socket connect server , utilize printwriter write it.
private printwriter out; public void writestring( string message ) throws ioexception { openstreams(); out.print( message); out.flush(); } i start proxy , send request server via proxy. problem see lot of these request/response in console of proxy. there different way of doing this, console left cleaner. new socket programing
thanks in advance
it sounds have system.out.println or debug logging statement somewhere else in code. quick text-search through various java files , search system.out statements. if using logging framework log4j/slf4j, check if logging @ inappropriate level (info instead of debug maybe) , tune logger config appropriate lever and/or log file instead of console.
java
Comments
Post a Comment