Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-1337

Logging success messages in service startup and shutdown only after verification.

    Details

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

      Description

      Right now, it appears like we log success messages right at the beginning of the method call irrespective of whether the service was successfully stopped / started. In a scenario where the user issues "service serviceName start" and immediately sees a success message but, the service in reality has failed to start leads to some amount of confusion.

      The proposed change will only log success messages if the operation was actually successful.

        Attachments

        1. BIGTOP-1337.patch
          9 kB
          Manikandan Narayanaswamy

          Activity

            People

            • Assignee:
              mnarayan Manikandan Narayanaswamy
              Reporter:
              mnarayan Manikandan Narayanaswamy
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: