Hi friends, sometimes I use `job.execute_in_proces...
# integration-dbt
q
Hi friends, sometimes I use
job.execute_in_process
and I see logs in the terminal. I could really use the colors in the dbt logs that show in my terminal. How do I override the
--no-use-color
flag in
dbt_cli_resource
? I am thinking
Copy code
'resources:
   dbt:
     config:
        no-use-color: False
r
Try turning the json log format off? We use the presence of this configuration value to determine whether to use colored logs
Copy code
resources:
   dbt:
     config:
        json_log_format: False
q
I tried this and it didn't seem to pick up the json_log_format config.
Copy code
job.execute_in_process(
   run_config = {
        'loggers': {'console': {'config': {'log_level': 'INFO'}}},
        'resources': {'dbt': {'config': {'json_log_format': False }}}
   } 
)
But it didn't work
What works is adding it to the
dbt_cli_resource
configuration.
dbt_cli_resource.configured({"json_log_format": False})