Print output
Suppress print()
messages in stdout
By default, dbt includes print()
messages in standard out (stdout). You can use the DBT_PRINT
environment variable to prevent these messages from showing up in stdout.
The original DBT_NO_PRINT
environment variable has been deprecated, starting with dbt v1.5. Backward compatibility is supported but will be removed in an as-of-yet-undetermined future release.
Supply --no-print
flag to dbt run
to suppress print()
messages from showing in stdout.
dbt --no-print run
Printer width
By default, dbt will print out lines padded to 80 characters wide. You can change this setting by adding the following to your profiles.yml
file:
config:
printer_width: 120
Print color
By default, dbt will colorize the output it prints in your terminal. You can turn this off by adding the following to your profiles.yml
file:
config:
use_colors: False
dbt --use-colors run
dbt --no-use-colors run
You can set the color preferences for the file logs only within profiles.yml
or using the --use-colors-file / --no-use-colors-file
flags.
config:
use_colors_file: False
dbt --use-colors-file run
dbt --no-use-colors-file run