-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Turn off cache logging when --log-cache-events is not set #1139
Labels
bug
Something isn't working
Milestone
Comments
This is another issue around calling The safest solution here is to flip that flag during |
Fixed in #1144 |
1 task
1 task
dbeatty10
added a commit
to dbt-labs/docs.getdbt.com
that referenced
this issue
Jan 30, 2024
[Preview](https://docs-getdbt-com-git-dbeatty-log-cache-events-config-dbt-labs.vercel.app/reference/global-configs/logs#logging-relational-cache-events) resolves #4664 ## What are you changing in this pull request and why? As noted in #4366, there is currently not any documentation for the `log_cache_events` config. When `True`, this flag enables verbose logging for [relational cache](https://docs.getdbt.com/reference/global-configs/cache) events (which can be helpful when debugging) (default to `False`). Because it has existed since at least [2018-11-15](dbt-labs/dbt-core#1139) (prior to dbt v1.0), no version blocks are applicable. ## Checklist - [x] Review the [Content style guide](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/content-style-guide.md) so my content adheres to these guidelines.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue
Issue description
dbt has a
--log-cache-events
flag, but it appears that some invocations of dbt log the cache events even when this is flag not provided. Cache events should only be logged when--log-cache-events
is provided.Results
--log-cache-events
was not provided, but cache events were logged tologs/dbt.log
This happened for both
dbt run
anddbt archive
, though it may apply to other types of invocations as well.System information
The output of
dbt --version
:The operating system you're running on:
Amazon Linux
The python version you're using (probably the output of
python --version
)3.5
Steps to reproduce
TBD. In the logs I have which demonstrates this, I see:
followed by parsing, and then:
The text was updated successfully, but these errors were encountered: