Uploaded image for project: 'RHEL Conversions'
  1. RHEL Conversions
  2. RHELC-1133

assessment log is colorized when NO_COLOR env var is given

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done-Errata
    • Icon: Undefined Undefined
    • 1.5.0
    • None
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • 2
    • 2023-R4
    • Testable

      Looking at any integration output logs will show that with NO_COLOR=1 set in the environment, the regular logs are uncolorized but the ones that make up the assessment log are wrapped in ANSI escape sequences for color.

      Looking at the code, the reason is the logs use a boolean to turn colors off while the report uses a boolean to turn colors on.  Switch the report to use a boolean to turn colors off so it agrees with what already exists in logging.

              tkuratom@redhat.com Toshio Kuratomi
              tkuratom@redhat.com Toshio Kuratomi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: