worker: use MultilineFormatter

This commit is contained in:
Sebastien Bourdeauducq 2016-01-26 21:30:28 +01:00
parent ded1e31567
commit 1fed38a8dc
1 changed files with 2 additions and 1 deletions

View File

@ -7,6 +7,7 @@ from collections import OrderedDict
import artiq import artiq
from artiq.protocols import pipe_ipc, pyon from artiq.protocols import pipe_ipc, pyon
from artiq.protocols.logging import multiline_log_config
from artiq.tools import file_import from artiq.tools import file_import
from artiq.master.worker_db import DeviceManager, DatasetManager, get_hdf5_output from artiq.master.worker_db import DeviceManager, DatasetManager, get_hdf5_output
from artiq.language.environment import is_experiment from artiq.language.environment import is_experiment
@ -187,7 +188,7 @@ def setup_diagnostics(experiment_file, repository_path):
def main(): def main():
global ipc global ipc
logging.basicConfig(level=int(sys.argv[2])) multiline_log_config(level=int(sys.argv[2]))
ipc = pipe_ipc.ChildComm(sys.argv[1]) ipc = pipe_ipc.ChildComm(sys.argv[1])
start_time = None start_time = None