You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# profiles.ymlconfig:
log_format: jsonlog_level: info# # or these configs which apply ONLY to the log file# log_format_file: json# log_level_file: infomy-warehouse-db:
target: devoutputs:
dev:
# ...
Environment variables
You can also use any of these environment variables instead of profiles.yml or their associated CLI flags (--log-format, --log-format-file, --log-level , --log-level-file):
DBT_LOG_FORMAT
DBT_LOG_FORMAT_FILE
DBT_LOG_LEVEL
DBT_LOG_LEVEL_FILE
Summary
Since this is already possible we're going to close this in favor of these documentation updates:
Is this your first time submitting a feature request?
Describe the feature
We can set log level and format with extra command line arguments.
To reduce the verbosity, I’d like to set them once in
profiles.yml
Describe alternatives you've considered
Adding them to every command.
Who will this benefit?
Users who want more efficient, production-grade logging.
Or
and then no need for:
Are you interested in contributing this feature?
If you can point me in the direction, I’ll give it a shot
Anything else?
No response
The text was updated successfully, but these errors were encountered: