prio-data / views_pipeline

VIEWS forecasting pipeline for monthly prediction runs. Includes MLops and QA for all models/ensembles.
Other
3 stars 3 forks source link

General logging script #94

Closed xiaolong0728 closed 2 weeks ago

xiaolong0728 commented 3 weeks ago

A new utils_logger.py is created in common_utils. It is a global setting so after calling the function you only need to use logger = logging.getLogger(__name__). Every model calls this function in main.py.

Note that if there is logging in set_project_paths which is called before setup_logging, it won't follow this format.