Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-6202

Missing log parameter placeholder in routepolicy.quartz.ScheduledRoutePolicy

    XMLWordPrintableJSON

Details

    • Novice

    Description

      In the method scheduleRoute(...) there is logging code that looks like:

        if (LOG.isInfoEnabled()) {
          LOG.info("Scheduled trigger: {} for action: {} on route: ", 
              new Object[]{trigger.getFullName(), action, route.getId()});
        }
      

      ...but it's missing parameter placeholder for the routeId. It should be:

        if (LOG.isInfoEnabled()) {
          LOG.info("Scheduled trigger: {} for action: {} on route: {}", 
              new Object[]{trigger.getFullName(), action, route.getId()});
        }
      

      Attachments

        Activity

          People

            muellerc Christian Müller
            cwolf Chris Wolf
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: