Uploaded image for project: 'Cloud Enablement'
  1. Cloud Enablement
  2. CLOUD-2305

colorized logging should clear attributes at the end of the line, instead of setting to black

    XMLWordPrintable

Details

    • CLOUD Maintenance Sprint 14

    Description

      Current https://github.com/jboss-openshift/cct_module/blob/master/os-logging/added/launch/logging.sh

      warn and error lines end the line with a "black" setting, which causes any output not done via the log_ methods black.

      BLACK='\033\[0;30m'
      ...
      echo >&2 -e "${YELLOW}WARN ${message}${BLACK}"
      

      it should instead just end the lines with "reset all attributes" and keep it that way:

      \033[0m
      

      Attachments

        Issue Links

          Activity

            People

              rcernich1 Rob Cernich
              maschmid@redhat.com Marek Schmidt
              Marek Schmidt Marek Schmidt
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: