https://prefect.io logo
#prefect-community
Title
# prefect-community
s

Stephen Herron

09/27/2022, 5:12 PM
with the v2 logging, would it be possible to get logs that can handle color? e.g. dbt defaults in prefect look like:
Copy code
Configuration:
  profiles.yml file [[32mOK found and valid[0m]
  dbt_project.yml file [[32mOK found and valid[0m]

Required dependencies:
 - git [[32mOK found[0m]
1
j

Jeff Hale

09/27/2022, 5:33 PM
You can get colored logging in the CLI with Rich as shown here. Is that what you’re looking for?
s

Stephen Herron

09/27/2022, 5:51 PM
I’m not sure. I probably should have clarified that locally it works as expected, it’s in the cloud logs that I see the color codes rather than the actual color
j

Jeff Hale

09/27/2022, 5:57 PM
Ah, gotcha. Sounds like a bug. Are you able to open an issue at the repo, please?
☑️ 1