Skip to content

[AIRFLOW-5432] Remove colour logs from UI - #6046

Merged
potiuk merged 1 commit into
apache:masterfrom
PolideaInternal:fix-colored-log
Sep 7, 2019
Merged

potiuk merged 1 commit into
apache:masterfrom
PolideaInternal:fix-colored-log

Conversation

@turbaszek

Copy link
Copy Markdown
Member

Make sure you have checked all steps below.

Jira

Description

  • Here are some details about my PR, including screenshots of any UI changes:
    StreamLogWriter logs other logs that could contain escapes codes thus in web UI
    the log is obfuscated. To fix it I added method to remove those codes. This commit
    also improves handling of dictionary as an argument for formatted string.

Tests

  • My PR adds the following unit tests OR does not need testing for this extremely good reason:

Commits

  • My commits all reference Jira issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":
    1. Subject is separated from body by a blank line
    2. Subject is limited to 50 characters (not including Jira issue reference)
    3. Subject does not end with a period
    4. Subject uses the imperative mood ("add", not "adding")
    5. Body wraps at 72 characters
    6. Body explains "what" and "why", not "how"

Documentation

  • In case of new functionality, my PR adds documentation that describes how to use it.
    • All the public functions and the classes in the PR contain docstrings that explain what it does
    • If you implement backwards incompatible changes, please leave a note in the Updating.md so we can assign it to a appropriate release

StreamLogWriter logs other logs that could contain escapes codes thus in web UI
the log is obfuscated. To fix it I added method to remove those codes. This commit
also improves handling of dictionary as an argument for formatted string.
@potiuk
potiuk merged commit 3bfd6b0 into apache:master Sep 7, 2019
@turbaszek
turbaszek deleted the fix-colored-log branch September 19, 2019 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants