User: ejort   
  Date: 02/01/05 04:08:54

  Modified:    src/main/org/jboss/proxy/ejb ProxyFactory.java
  Log:
  Guarded debug logging
  
  Revision  Changes    Path
  1.4       +6 -5      jboss/src/main/org/jboss/proxy/ejb/ProxyFactory.java
  
  Index: ProxyFactory.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/proxy/ejb/ProxyFactory.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ProxyFactory.java 2002/01/03 04:00:59     1.3
  +++ ProxyFactory.java 2002/01/05 12:08:54     1.4
  @@ -49,7 +49,7 @@
    * just implementing the Proxy generation calls. Separation of concern. 
    *
    *  @author <a href="mailto:[EMAIL PROTECTED]";>Marc Fleury</a>
  - *  @version $Revision: 1.3 $
  + *  @version $Revision: 1.4 $
    *
    *  <p><b>Revisions:</b><br>
    *  <p><b>2001/12/30: billb</b>
  @@ -152,8 +152,8 @@
            }
         }
         
  -      
  -      log.debug("Proxy Factory for "+jndiName+" initialized");
  +      if (log.isDebugEnabled())
  +         log.debug("Proxy Factory for "+jndiName+" initialized");
      }
      
      public void start() throws Exception
  @@ -211,8 +211,9 @@
               getEJBHome());
            
            
  -         log.debug("Bound "+container.getBeanMetaData().getEjbName() + " to " + 
container.getBeanMetaData().getJndiName());
  -      
  +         if (log.isDebugEnabled())
  +            log.debug("Bound "+container.getBeanMetaData().getEjbName() + " to " + 
container.getBeanMetaData().getJndiName());
  +
         } catch (Exception e)
         {
            throw new ServerException("Could not bind home", e);
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to