From 39729e423d8b7ae9c99d8a22ae605f1079778107 Mon Sep 17 00:00:00 2001 From: Yulia Portnova Date: Mon, 18 Jan 2016 14:36:50 +0200 Subject: [PATCH] Logging rpc client/server targets Change-Id: Ief8cb50af58bba886cb02c309b8254ffc685c5cc --- tools/simulator.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/simulator.py b/tools/simulator.py index 93a649ca8..779543f2e 100755 --- a/tools/simulator.py +++ b/tools/simulator.py @@ -230,6 +230,7 @@ def rpc_server(transport, target, wait_before_answer, executor, show_stats, endpoints = [RpcEndpoint(wait_before_answer, show_stats)] server = rpc.get_rpc_server(transport, target, endpoints, executor=executor) + LOG.debug("starting RPC server for target %s", target) server.start() if duration: start_t = time.time() @@ -249,6 +250,7 @@ def spawn_rpc_clients(threads, transport, targets, targets = itertools.cycle(targets) for i in range(0, threads): target = targets.next() + LOG.debug("starting RPC client for target %s", target) p.spawn_n(send_msg, i, transport, target, *args, **kwargs) p.waitall()