I want to be able to intercept logs that are being...
# ask-community
p
I want to be able to intercept logs that are being sent to the dagit ui and modify them. The use case is in dbt sometimes the logs will link to q failed bq log and I want to fetch the actual error message and add it to these logs. I can't seem to figure out how to do this without forking the dbt integration tho.
r
Hey Pablo, we released some new `dagster-dbt` APIs for discussion. Here, you can stream logs from invoking a dbt command and manipulate them as you see fit. You can see an example of that here: https://github.com/dagster-io/dagster/blob/master/examples/experimental/tutorial_dbt_dagster_v2/tutorial_dbt_dagster_v2/assets/runtime_metadata.py
Please ask in #dagster-dbt if you have further questions!