Skip to content
New issue

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

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

Already on GitHub? # to your account

View Chef logs live and colorized? #236

Closed
evandam opened this issue May 26, 2021 · 3 comments
Closed

View Chef logs live and colorized? #236

evandam opened this issue May 26, 2021 · 3 comments

Comments

@evandam
Copy link
Contributor

evandam commented May 26, 2021

πŸ™ Problem Statement

Logs during the Chef run are not visible until the run is complete, and color is lost. The logs pause at Preparing client.rb, and then all logs get flushed.

❔ Possible Solution

An option to provide in kitchen.yml to immediately flush logs as they are received and to preserve color (ex: if running kitchen manually, not in CI).

‴️ Describe alternatives you've considered

Leave things the way they are πŸ˜‡

I've tried things like chef_options: " -z --color" but no luck.

βž• Additional context

Thanks folks!

@YAMLcase
Copy link

YAMLcase commented Jun 27, 2021

#5 related, but reverted due to newline issues

@collinmcneese
Copy link
Contributor

Hey @evandam πŸ‘‹πŸ» -- color output is supported now and merged in with #250, is this good to close out?

@evandam
Copy link
Contributor Author

evandam commented Dec 6, 2021

Sounds good, thanks @collinmcneese

@evandam evandam closed this as completed Dec 6, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

4 participants