Closed jmholzer closed 1 year ago
Is there a particular issue link to this? I know there is a problem with
click
when deploying on Databricks, I am not familiar with problem ofrich
or maybe I just forgot.
Yes, unfortunately rich
logging produces the following when a packaged Kedro project is run as a job:
This is the output with console
logging:
I did a quick test and got weird results: on one hand, I already had this logging configuration in my project and I'm not sure why (I was using the starter I cloned before this PR was up), but also I'm still seeing HTML in the logs after launching a test workflow.
I ran out of time to debug this before the end of the week but I don't want to block the PR @jmholzer , hope you can find someone else to review this.
I think you potentially used the pyspark-iris
starter for this. Did you also remember to copy the conf/
folder from local to DBFS before running this project? It is interesting that the rich output renders correctly for you when run as a project, which Databricks runtime version are you using? I never saw rich rendered correctly with < 13, but haven't tried >= 13.
It is interesting that the rich output renders correctly for you when run as a project, which Databricks runtime version are you using? I never saw rich rendered correctly with < 13, but haven't tried >= 13.
I'm still using DBR 12.2 LTS but the New Navigation UI for Databricks. Maybe that played a role?
Don't forget to update the release notes ✍️
@merelcht Did you mean to add this comment on the Kedro docs PR? I can't see a RELEASE.md
for starters.
Don't forget to update the release notes ✍️
@merelcht Did you mean to add this comment on the Kedro docs PR? I can't see a
RELEASE.md
for starters.
Whoops you're right! I mean to add it here: https://github.com/kedro-org/kedro-starters/releases Just so we know when this was updated 🙂
Motivation and Context
Solves the problem that
rich
logging does not work when deploying projects as wheel files, butconsole
logging does.How has this been tested?
Manually on Databricks.
Checklist