Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dim attributes in pretty printed logs. #495

Merged
merged 1 commit into from
Aug 4, 2023
Merged

Dim attributes in pretty printed logs. #495

merged 1 commit into from
Aug 4, 2023

Conversation

mwhittaker
Copy link
Member

Before this PR, log attribute names were purple and attribute values were white. This PR dims both a light gray. This draws more attention to the body of the log compared to the attributes.

I think we were also putting way too much stuff in the attributes which was making the logs hard to read. In theory, you can use attributes to query logs, but I don't think we ever did this. And even if we did, the attributes we had were awkward to query.

Before After
not_dimmed dimmed

@mwhittaker mwhittaker requested a review from spetrovic77 August 3, 2023 00:10
@mwhittaker mwhittaker self-assigned this Aug 3, 2023
@mwhittaker mwhittaker force-pushed the remoteweavelet_logging branch from 46795ad to 5fe3a36 Compare August 4, 2023 16:19
Base automatically changed from remoteweavelet_logging to main August 4, 2023 16:32
Before this PR, log attribute names were purple and attribute values
were white. This PR dims both a light gray. This draws more attention to
the body of the log compared to the attributes.

I think we were also putting way too much stuff in the attributes which
was making the logs hard to read. In theory, you can use attributes to
query logs, but I don't think we ever did this. And even if we did, the
attributes we had were awkward to query.
@mwhittaker mwhittaker merged commit 4a289a6 into main Aug 4, 2023
@mwhittaker mwhittaker deleted the dim_labels branch August 4, 2023 16:59
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