From cbb6817edd3b19a00825730eda8271af7e48a940 Mon Sep 17 00:00:00 2001 From: Diego Rodriguez Date: Mon, 1 Apr 2019 16:51:23 +0200 Subject: [PATCH] logging: logging format from R-Commons * Closes reanahub/reana#129. --- reana_workflow_engine_serial/tasks.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/reana_workflow_engine_serial/tasks.py b/reana_workflow_engine_serial/tasks.py index 3346702..06bd1b9 100644 --- a/reana_workflow_engine_serial/tasks.py +++ b/reana_workflow_engine_serial/tasks.py @@ -17,8 +17,8 @@ import click from reana_commons.api_client import JobControllerAPIClient -from reana_commons.config import (REANA_ENGINE_LOG_LEVEL, - REANA_ENGINE_LOG_FORMAT) +from reana_commons.config import (REANA_LOG_LEVEL, + REANA_LOG_FORMAT) from reana_commons.publisher import WorkflowStatusPublisher from reana_commons.serial import serial_load from reana_commons.utils import (build_caching_info_message, @@ -99,8 +99,8 @@ def run_serial_workflow(workflow_uuid, def initialize(workflow_uuid, workflow_workspace, operational_options): """Initialize engine.""" # configure the logger - logging.basicConfig(level=REANA_ENGINE_LOG_LEVEL, - format=REANA_ENGINE_LOG_FORMAT) + logging.basicConfig(level=REANA_LOG_LEVEL, + format=REANA_LOG_FORMAT) # set cache on or off if not operational_options: