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

    Details

      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
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  rcernich Rob Cernich
                  Reporter:
                  maschmid Marek Schmidt
                  Tester:
                  Marek Schmidt
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: