Uploaded image for project: 'Slider'
  1. Slider
  2. SLIDER-1151

Don't log Invalid port range values when there are no invalid ports specified

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • Slider 0.80
    • None
    • agent
    • None

    Description

      Slider version 0.80

      CustomServiceOrchestrator.py:494 (get_allowed_port_list()) always logs invalid port range log message; even when the "invalid" set is empty.

      logger.warning("Invalid port range values: " + str(invalid))

      This just clutters the log with entries like

      WARNING 2016-07-02 09:13:18,489 CustomServiceOrchestrator.py:494 - Invalid port range values: set([])

      The warning should be logged only when the invalid set is non-empty

      Attachments

        1. SLIDER-1151.1.patch
          0.7 kB
          Manoj Samel

        Activity

          People

            manojsamel Manoj Samel
            manojsamel Manoj Samel
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: