Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathaniel May committed Nov 9, 2021
1 parent ebb84c4 commit 683190b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions core/dbt/events/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,8 @@
stdout_handler = logging.StreamHandler()
stdout_handler.setLevel(logging.INFO)
STDOUT_LOG.addHandler(stdout_handler)
global color

format_color = True
global json
format_json = False


Expand All @@ -38,7 +37,7 @@ def setup_event_logger(log_path):
# havent been applied yet
this.format_color = True if flags.USE_COLORS else False
# TODO this default should live somewhere better
log_dest = os.path.join('logs', 'dbt.log')
log_dest = os.path.join(log_path, 'dbt.log')
level = logging.DEBUG if flags.DEBUG else logging.INFO

# overwrite the STDOUT_LOG logger with the configured one
Expand Down

0 comments on commit 683190b

Please sign in to comment.