Skip to content
Snippets Groups Projects
Commit ec0471e2 authored by Steffen Vogel's avatar Steffen Vogel :santa_tone2: Committed by Richard Marston
Browse files

show name and type of simulator during startup of daemon

parent fc41c239
Branches
Tags
No related merge requests found
......@@ -10,7 +10,7 @@ class Controller(kombu.mixins.ConsumerMixin):
self.connection = connection
for sim in simulators:
LOGGER.info("Adding simulator: %s" % sim.uuid)
LOGGER.info("Adding %s simulator: %s", sim.type, sim.uuid)
sim.set_connection(connection)
def get_consumers(self, Consumer, channel):
......
......@@ -14,6 +14,7 @@ class Simulator(object):
def __init__(self, **args):
self.realm = args['realm']
self.type = args['type']
self.name = args['name']
self.uuid = args['uuid'] or uuid.uuid4()
self.started = time.time()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment