Skip to content

Commit

Permalink
turn into snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
mirnawong1 committed Nov 7, 2024
1 parent 34143d8 commit 6afb6ac
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 8 deletions.
8 changes: 4 additions & 4 deletions website/docs/reference/global-configs/cache.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ dbt --cache-selected-only run --select salesforce

### Logging relational cache events

The `LOG_CACHE_EVENTS` config allows detailed logging for relational cache events, which are disabled by default.
import LogLevel from '/snippets/_log-relational-cache.md';

```text
dbt --log-cache-events compile
```
<LogLevel
event="relational cache"
/>
8 changes: 4 additions & 4 deletions website/docs/reference/global-configs/logs.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,11 +137,11 @@ You can use either of these parameters to ensure clean output that's compatible

### Logging relational cache events

The `LOG_CACHE_EVENTS` config allows detailed logging for [relational cache](/reference/global-configs/cache) events, which are disabled by default.
import LogLevel from '/snippets/_log-relational-cache.md';

```text
dbt --log-cache-events compile
```
<LogLevel
event={<a href="https://docs.getdbt.com/reference/global-configs/cache">relational cache</a>}
/>

### Color

Expand Down
5 changes: 5 additions & 0 deletions website/snippets/_log-relational-cache.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<p>The `LOG_CACHE_EVENTS` config allows detailed logging for {props.event}, which are disabled by default.</p>

```text
dbt --log-cache-events compile
```

0 comments on commit 6afb6ac

Please sign in to comment.