Skip to content

Commit

Permalink
CT-2160: Fix logbook (legacy logging) regression (#7029)
Browse files Browse the repository at this point in the history
* CT-2160: Fix logbook (legacy logging) regression

* CT-2160: Changelog entry
  • Loading branch information
peterallenwebb authored Feb 22, 2023
1 parent 1fe0c32 commit c785f32
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .changes/unreleased/Fixes-20230222-133304.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: Fixes
body: Fix regression in logbook log output
time: 2023-02-22T13:33:04.017149-05:00
custom:
Author: peterallenwebb
Issue: "7028"
1 change: 1 addition & 0 deletions core/dbt/events/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ def _get_logbook_log_config(level: Optional[EventLevel] = None) -> LoggerConfig:
config.name = "logbook_log"
config.filter = NoFilter if flags.LOG_CACHE_EVENTS else lambda e: not isinstance(e.data, Cache)
config.logger = GLOBAL_LOGGER
config.output_stream = None
return config


Expand Down

0 comments on commit c785f32

Please sign in to comment.