Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
_log_transformation_error
)

logging.basicConfig(format='[%(asctime)s] %(levelname)s in %(module)s: %(message)s', level=logging.DEBUG,
datefmt='%Y-%m-%d %H:%M:%S')
logger = logging.getLogger(__name__)


Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import logging

logging.basicConfig(format='[%(asctime)s] %(levelname)s in %(module)s: %(message)s', level=logging.DEBUG,
datefmt='%Y-%m-%d %H:%M:%S')
logger = logging.getLogger(__name__)


Expand Down
1 change: 0 additions & 1 deletion src/hubmap_translation/debug.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
if len(paths) == 0:
print('Provide paths to JSON or YAML files as arguments')
sys.exit(1)
logging.basicConfig(level=logging.DEBUG)
for path in paths:
doc = load_yaml(Path(path).read_text())
new_name = f'{path}.transformed.yaml'
Expand Down
2 changes: 0 additions & 2 deletions src/hubmap_translator.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@
from translator.tranlation_helper_functions import *
from translator.translator_interface import TranslatorInterface

logging.basicConfig(format='[%(asctime)s] %(levelname)s in %(module)s: %(message)s', level=logging.DEBUG,
datefmt='%Y-%m-%d %H:%M:%S')
logger = logging.getLogger(__name__)

# This list contains fields that are added to the top-level at index runtime
Expand Down