From ed2d87f4632665f84771f0025bd52f200cbab077 Mon Sep 17 00:00:00 2001 From: Roque Lopez Date: Thu, 15 Feb 2024 14:28:23 -0500 Subject: [PATCH] Add timestamp to logging --- alpha_automl/automl_api.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/alpha_automl/automl_api.py b/alpha_automl/automl_api.py index 0093090a..42b13e9c 100644 --- a/alpha_automl/automl_api.py +++ b/alpha_automl/automl_api.py @@ -12,7 +12,8 @@ from alpha_automl.visualization import plot_comparison_pipelines from alpha_automl.pipeline_serializer import PipelineSerializer -logging.basicConfig(level=logging.DEBUG, stream=sys.stdout) +logging.basicConfig(level=logging.DEBUG, stream=sys.stdout, format='%(levelname)s|%(asctime)s|%(message)s', + datefmt='%Y-%m-%d %H:%M:%S') logger = logging.getLogger(__name__) AUTOML_NAME = 'AlphaAutoML'