Uploaded image for project: 'Samza'
  1. Samza
  2. SAMZA-826

Fix string format issue with log message in ContainerUtil

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.10.0
    • Component/s: None
    • Labels:

      Description

      In ContainerUtil.java there is a log line that uses the wrong formatting token. Line:
      log.info("Starting container ID {} using package path %s", samzaContainerId, path);

      Causes the following example log message:
      "Starting container ID 118 using package path %s"

      The '%s' should be replaced with '{}' to conform to slf4j convention so the path string will be printed in the message.

        Attachments

        1. SAMZA-826.0.patch
          0.7 kB
          Aleksandar Bircakovic

          Activity

            People

            • Assignee:
              a.bircakovic Aleksandar Bircakovic
              Reporter:
              jmakes Jake Maes
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: