dbt-labs / dbt-rpc

A server that can compile and run queries in the context of a dbt project. Additionally, it provides methods that can be used to list and terminate running processes.
https://docs.getdbt.com/reference/commands/rpc
Apache License 2.0
19 stars 7 forks source link

Manually Set USE_LEGACY_LOGGER #62

Closed nathaniel-may closed 2 years ago

nathaniel-may commented 2 years ago

DON'T MERGE THIS without changing dev-requirements.txt back to point at main.

Making this branch to play around with and see if we can get it to work.

jtcohen6 commented 2 years ago

Someone who's better at monkey patching than we are can help us figure this one out. We'd need to override flags.USE_LEGACY_LOGGER in every place that this package imports dbt.logger. Even then I'm not exactly sure how to do it.