mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-07-27 12:31:17 -07:00
Changes to allow local runs
This commit is contained in:
parent
d298f7dedb
commit
ff9e7b9aa2
11 changed files with 3231 additions and 1867 deletions
|
@ -13,6 +13,7 @@ import requests
|
|||
import urllib3
|
||||
import yaml
|
||||
from data_pipeline.config import settings
|
||||
from data_pipeline.constants import LOG_LEVEL
|
||||
from data_pipeline.content.schemas.download_schemas import CodebookConfig
|
||||
from data_pipeline.content.schemas.download_schemas import CSVConfig
|
||||
from data_pipeline.content.schemas.download_schemas import ExcelConfig
|
||||
|
@ -48,7 +49,7 @@ def get_module_logger(module_name: str) -> logging.Logger:
|
|||
)
|
||||
handler.setFormatter(formatter)
|
||||
logger.addHandler(handler)
|
||||
logger.setLevel(logging.INFO)
|
||||
logger.setLevel(LOG_LEVEL)
|
||||
logger.propagate = False # don't send log messages to the parent logger (to avoid duplicate log messages)
|
||||
return logger
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue