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

Fix display output in logs #1316

Merged
merged 1 commit into from
Oct 28, 2021
Merged

Fix display output in logs #1316

merged 1 commit into from
Oct 28, 2021

Conversation

swalkinshaw
Copy link
Member

@swalkinshaw swalkinshaw commented Oct 28, 2021

Background: #1235 (comment)

Ansible bases the log level based on colour (yeah, it's dumb) when logging is enabled. bright gray was a valid log level mapping.

Instead of trying to pick some other colur supported in both contexts, we can just set screen_only to skip these messages which are meant for STDOUT anyway.

cc @strarsis

Background:
#1235 (comment)

Ansible bases the log level based on colour (yeah, it's dumb) when
logging is enabled. `bright gray` was a valid log level mapping.

Instead of trying to pick some other colur supported in both contexts,
we can just set `screen_only` to skip these messages which are meant for
STDOUT anyway.
@strarsis
Copy link
Contributor

LGTM!

@swalkinshaw swalkinshaw merged commit 66d6da5 into master Oct 28, 2021
@swalkinshaw swalkinshaw deleted the fix-log-output-colour branch October 28, 2021 00:57
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