Skip to content

Add color to log lines in UI for debug based on keywords #43541

Description

@porn

Description

Add colors to logs for debug rows. Similar to what was done for errors and warnings in Airflow 2.10.

Use case/motivation

In Airflow 2.10.0, the errors and warnings in task logs were colored. This is very cool, and I love it!

Would is be possible to color the debug lines as well?

The goal is to further improve the readability of the logs. The suggested color is grey 😉

This is how it looks in PyCharm using some log coloring plugin:

image

Related issues

#37443

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions