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
I have searched the existing issues, and I could not find an existing issue for this bug
Current Behavior
Configuring quiet: true in profiles.yml has no effect.
Searching within logs/dbt.log for a line that includes "running dbt with arguments" shows:
'quiet': 'False'
Side notes
Configuring log_cache_events: true also shows in the logs as:
'log_cache_events': 'False'
Configuring introspect: false shows in the logs as:
'introspect': 'True'
Setting true/false booleans within profiles.yml for all the rest of the keys below do show up as expected within the logs (whether they are set to true or false):
The rest look good
All the rest of the keys in profiles.yml shown below seem to show the expected value within the logs/dbt.log (for both true or false):
If this is expected to be invalid within profiles.yml, then remove that section of the documentation on docs.getdbt.com.
☝️ I'm guessing updating the documentation is the thing to do, because I couldn't get it to work for any version of dbt between 1.0 and 1.5. I didn't try anything earlier than 1.0.
Steps To Reproduce
dbt ls - to establish a baseline expectation
Edit config portion of profiles.yml to include quiet: true
dbt ls - see that it does the same thing as before
dbt --quiet ls - see that it does something different
Also search logs/dbt.log for "quiet" after each command to see its value.
github-actionsbot
changed the title
[Bug] Not able to set quiet: true in profiles.yml
[CT-2425] [Bug] Not able to set quiet: true in profiles.ymlApr 17, 2023
Is this a new bug in dbt-core?
Current Behavior
Configuring
quiet: true
inprofiles.yml
has no effect.Searching within
logs/dbt.log
for a line that includes "running dbt with arguments" shows:Side notes
Configuring
log_cache_events: true
also shows in the logs as:Configuring
introspect: false
shows in the logs as:Setting true/false booleans within
profiles.yml
for all the rest of the keys below do show up as expected within the logs (whether they are set totrue
orfalse
):The rest look good
All the rest of the keys in
profiles.yml
shown below seem to show the expected value within thelogs/dbt.log
(for bothtrue
orfalse
):profiles.yml
Expected Behavior
That configuring
quiet: true
inprofiles.yml
works just as well as-q
or--quiet
or theDBT_QUIET
environment variable as described here:https://docs.getdbt.com/reference/global-configs#suppress-non-error-logs-in-output
profiles.yml
If this is expected to be invalid within
profiles.yml
, then remove that section of the documentation on docs.getdbt.com.☝️ I'm guessing updating the documentation is the thing to do, because I couldn't get it to work for any version of dbt between 1.0 and 1.5. I didn't try anything earlier than 1.0.
Steps To Reproduce
dbt ls
- to establish a baseline expectationconfig
portion ofprofiles.yml
to includequiet: true
dbt ls
- see that it does the same thing as beforedbt --quiet ls
- see that it does something differentAlso search
logs/dbt.log
for "quiet" after each command to see its value.Relevant log output
Environment
Which database adapter are you using with dbt?
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: