[jboss-cvs] jboss-ejb3/src/main/org/jboss/ejb3/timerservice ...

Carlo de Wolf carlo at nerdnet.nl
Tue Jul 18 07:08:02 EDT 2006


  User: wolfc   
  Date: 06/07/18 07:08:02

  Modified:    src/main/org/jboss/ejb3/timerservice 
                        TimerServiceFactory.java
  Log:
  Only show stacktrace when debug is enabled.
  
  Revision  Changes    Path
  1.5       +3 -2      jboss-ejb3/src/main/org/jboss/ejb3/timerservice/TimerServiceFactory.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: TimerServiceFactory.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-ejb3/src/main/org/jboss/ejb3/timerservice/TimerServiceFactory.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -b -r1.4 -r1.5
  --- TimerServiceFactory.java	3 Jul 2006 09:43:41 -0000	1.4
  +++ TimerServiceFactory.java	18 Jul 2006 11:08:02 -0000	1.5
  @@ -55,7 +55,7 @@
    * job and trigger group within Quartz.
    * 
    * @author <a href="mailto:carlo at nerdnet.nl">Carlo de Wolf</a>
  - * @version $Revision: 1.4 $
  + * @version $Revision: 1.5 $
    */
   public class TimerServiceFactory
   {
  @@ -172,6 +172,7 @@
         }
         catch(SQLException e)
         {
  +         if(log.isDebugEnabled())
            log.warn("sql failed: " + sql, e);
            return false;
         }
  
  
  



More information about the jboss-cvs-commits mailing list