From 1fed38a8dc4e815642fb051478fb5491bb34bd35 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Tue, 26 Jan 2016 21:30:28 +0100 Subject: [PATCH] worker: use MultilineFormatter --- artiq/master/worker_impl.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/artiq/master/worker_impl.py b/artiq/master/worker_impl.py index 3a9664ae6..53381cd25 100644 --- a/artiq/master/worker_impl.py +++ b/artiq/master/worker_impl.py @@ -7,6 +7,7 @@ from collections import OrderedDict import artiq from artiq.protocols import pipe_ipc, pyon +from artiq.protocols.logging import multiline_log_config from artiq.tools import file_import from artiq.master.worker_db import DeviceManager, DatasetManager, get_hdf5_output from artiq.language.environment import is_experiment @@ -187,7 +188,7 @@ def setup_diagnostics(experiment_file, repository_path): def main(): global ipc - logging.basicConfig(level=int(sys.argv[2])) + multiline_log_config(level=int(sys.argv[2])) ipc = pipe_ipc.ChildComm(sys.argv[1]) start_time = None