Skip to content

Commit

Permalink
feat(ingest): great-expectations - attach logging handler to write lo…
Browse files Browse the repository at this point in the history
…gs to stdout (#6192)
  • Loading branch information
mayurinehate authored Oct 15, 2022
1 parent fbe4b72 commit 5377943
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import json
import logging
import os
import sys
import time
from dataclasses import dataclass
from datetime import timezone
Expand Down Expand Up @@ -57,6 +58,8 @@

logger = logging.getLogger(__name__)
if os.getenv("DATAHUB_DEBUG", False):
handler = logging.StreamHandler(stream=sys.stdout)
logger.addHandler(handler)
logger.setLevel(logging.DEBUG)

GE_PLATFORM_NAME = "great-expectations"
Expand Down

0 comments on commit 5377943

Please sign in to comment.