code: public boolean shouldTraceBeDisabled(WSRdbManagedConnectionImpl mc) {
          if (!databaseTc.isDebugEnabled() && mc.mcf.loggingEnabled)
              return true;
  
          return false;
      }
docs: This method checks if disabling jdbc logging is needed. (i.e. if a call to disableJdbcLogging is needed).
  The boundaries by which the method is called: <br>
  <li> before we hand out a connection in mc.getConnection </li>
  <li> during cleanup of the connection </li>
  
  @param mc WSRdbManagedConnectionImpl
  @return boolean true if trace should be disabled, false otherwise.