User: user57 Date: 02/02/16 03:27:02 Modified: src/main/org/jboss/test/lock/bean EnterpriseEntityBean.java Log: o System.err, System.out & printStackTrace() 99.9% gone. Revision Changes Path 1.6 +4 -1 jbosstest/src/main/org/jboss/test/lock/bean/EnterpriseEntityBean.java Index: EnterpriseEntityBean.java =================================================================== RCS file: /cvsroot/jboss/jbosstest/src/main/org/jboss/test/lock/bean/EnterpriseEntityBean.java,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- EnterpriseEntityBean.java 15 Feb 2002 06:15:54 -0000 1.5 +++ EnterpriseEntityBean.java 16 Feb 2002 11:27:01 -0000 1.6 @@ -9,6 +9,9 @@ public class EnterpriseEntityBean implements EntityBean { + static org.apache.log4j.Category log = + org.apache.log4j.Category.getInstance(EnterpriseEntityBean.class); + private EntityContext entityContext; public String name; @@ -79,7 +82,7 @@ } } catch(Exception e) { - e.printStackTrace(); + log.debug("failed", e); throw new RemoteException ("create entity did not work check messages"); }
_______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development