tn5250j/src/org/tn5250j/framework/tn5250 tnvt.java,1.14,1.15

"Kenneth J. Pouncey" <[email protected]> Fri, 17 Jun 2005 04:42:42 +0000
Newsgroups gmane.comp.java.tn5250j.cvs
Message-ID <[email protected]>
Update of /cvsroot/tn5250j/tn5250j/src/org/tn5250j/framework/tn5250
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1113/src/org/tn5250j/framework/tn5250

Modified Files:
	tnvt.java 
Log Message:
logging statements

Index: tnvt.java
===================================================================
RCS file: /cvsroot/tn5250j/tn5250j/src/org/tn5250j/framework/tn5250/tnvt.java,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** tnvt.java	17 Jun 2005 04:35:13 -0000	1.14
--- tnvt.java	17 Jun 2005 04:42:40 -0000	1.15
***************
*** 117,121 ****
  
  		controller = session;
!       System.out.println(" new session -> " + controller.getSessionName());
  
  		enhanced = type;
--- 117,121 ----
  
  		controller = session;
!       log.info(" new session -> " + controller.getSessionName());
  
  		enhanced = type;
***************
*** 204,208 ****
  		if (user == null && props.containsKey("SESSION_CONNECT_USER")) {
  			user = props.getProperty("SESSION_CONNECT_USER");
!          System.out.println(" user -> " + user + " " + controller.getSessionName());
  			if (props.containsKey("SESSION_CONNECT_PASSWORD"))
  				password = props.getProperty("SESSION_CONNECT_PASSWORD");
--- 204,208 ----
  		if (user == null && props.containsKey("SESSION_CONNECT_USER")) {
  			user = props.getProperty("SESSION_CONNECT_USER");
!          log.info(" user -> " + user + " " + controller.getSessionName());
  			if (props.containsKey("SESSION_CONNECT_PASSWORD"))
  				password = props.getProperty("SESSION_CONNECT_PASSWORD");
***************
*** 742,746 ****
            catch (IOException ioe)
            {
!             System.out.println(ioe.getMessage());
            }
            baosp.reset();
--- 742,746 ----
            catch (IOException ioe)
            {
!             log.info(ioe.getMessage());
            }
            baosp.reset();
***************
*** 963,967 ****
  				parseCommand();
  			} catch (Throwable t) {
! 				System.out.println("Exec cmd: " + t.getMessage());
  				t.printStackTrace();
  			}
--- 963,967 ----
  				parseCommand();
  			} catch (Throwable t) {
! 				log.info("Exec cmd: " + t.getMessage());
  				t.printStackTrace();
  			}
***************
*** 1776,1780 ****
  			int os = bk.getByteOffset(-1) & 0xf0;
  			int cp = (bk.getCurrentPos() - 1);
! 			System.out.println("invalid " + from + " command " + os
  					+ " at pos " + cp);
  		} catch (Exception e) {
--- 1776,1780 ----
  			int os = bk.getByteOffset(-1) & 0xf0;
  			int cp = (bk.getCurrentPos() - 1);
! 			log.info("invalid " + from + " command " + os
  					+ " at pos " + cp);
  		} catch (Exception e) {
***************
*** 2019,2028 ****
  
  							while (!isAttribute(attr)) {
! 								System.out
! 										.print(Integer.toHexString(fcw1) + " "
  												+ Integer.toHexString(fcw2)
  												+ " ");
! 								System.out
! 										.println(Integer.toHexString(attr)
  												+ " "
  												+ Integer.toHexString(bk
--- 2019,2026 ----
  
  							while (!isAttribute(attr)) {
! 								log.info(Integer.toHexString(fcw1) + " "
  												+ Integer.toHexString(fcw2)
  												+ " ");
! 								log.info(Integer.toHexString(attr)
  												+ " "
  												+ Integer.toHexString(bk



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click