From 5fab1557ef7398ac506f2d9daf5d63ae4b506abf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Rossigneux?= Date: Mon, 17 Jun 2013 12:18:47 +0200 Subject: [PATCH] Bug fixes (log messages). Change-Id: I0674ff703a16764d3e837a0851ea1e5794a624d2 --- bin/kwapi-forwarder | 2 +- kwapi/plugins/api/collector.py | 2 +- kwapi/plugins/rrd/rrd.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/kwapi-forwarder b/bin/kwapi-forwarder index e0c2c55..b2f0a49 100644 --- a/bin/kwapi-forwarder +++ b/bin/kwapi-forwarder @@ -38,7 +38,7 @@ cfg.CONF.register_opts(forwarder_opts) def forwarder(): """Listens probes_endpoints and forwards messages to the plugins.""" LOG = log.getLogger('kwapi') - LOG.info('Collector listenig to %s' % cfg.CONF.probes_endpoint) + LOG.info('Forwarder listening to %s' % cfg.CONF.probes_endpoint) context = zmq.Context.instance() frontend = context.socket(zmq.XPUB) frontend.bind(cfg.CONF.forwarder_endpoint) diff --git a/kwapi/plugins/api/collector.py b/kwapi/plugins/api/collector.py index 9a481de..c14e0af 100644 --- a/kwapi/plugins/api/collector.py +++ b/kwapi/plugins/api/collector.py @@ -131,7 +131,7 @@ class Collector: database. Messages are dictionaries dumped in JSON format. """ - LOG.info('Collector listenig to %s' % cfg.CONF.probes_endpoint) + LOG.info('API listening to %s' % cfg.CONF.probes_endpoint) context = zmq.Context.instance() subscriber = context.socket(zmq.SUB) diff --git a/kwapi/plugins/rrd/rrd.py b/kwapi/plugins/rrd/rrd.py index 9cf2247..b1232f9 100644 --- a/kwapi/plugins/rrd/rrd.py +++ b/kwapi/plugins/rrd/rrd.py @@ -260,7 +260,7 @@ def listen(): database. Messages are dictionaries dumped in JSON format. """ - LOG.info('RRD listenig to %s' % cfg.CONF.probes_endpoint) + LOG.info('RRD listening to %s' % cfg.CONF.probes_endpoint) create_dirs()