roots / trellis

WordPress LEMP stack with PHP 8.2, Composer, WP-CLI and more
https://roots.io/trellis/
MIT License
2.51k stars 607 forks source link

Fix display output in logs #1316

Closed swalkinshaw closed 3 years ago

swalkinshaw commented 3 years ago

Background: https://github.com/roots/trellis/pull/1235#issuecomment-729621213

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

strarsis commented 3 years ago

LGTM!