diff --git a/exponential-smoothing-predictor/src/exn/connector.py b/exponential-smoothing-predictor/src/exn/connector.py index 22775f3..7a2601c 100755 --- a/exponential-smoothing-predictor/src/exn/connector.py +++ b/exponential-smoothing-predictor/src/exn/connector.py @@ -9,7 +9,7 @@ from .settings import base from .handler import connector_handler -logging.basicConfig(level=logging.DEBUG, format='%(asctime)s - %(levelname)s - %(message)s') +logging.basicConfig(level=logging.WARN, format='%(asctime)s - %(levelname)s - %(message)s') _logger = logging.getLogger(__name__) diff --git a/exponential-smoothing-predictor/src/exn/core/consumer.py b/exponential-smoothing-predictor/src/exn/core/consumer.py index a92a1c2..7422409 100755 --- a/exponential-smoothing-predictor/src/exn/core/consumer.py +++ b/exponential-smoothing-predictor/src/exn/core/consumer.py @@ -8,7 +8,7 @@ from proton.handlers import MessagingHandler _logger = logging.getLogger(__name__) -_logger.setLevel(level=logging.DEBUG) +_logger.setLevel(level=logging.WARN) class Consumer(link.Link, MessagingHandler): diff --git a/exponential-smoothing-predictor/src/exn/core/context.py b/exponential-smoothing-predictor/src/exn/core/context.py index db5cde6..fd668a2 100755 --- a/exponential-smoothing-predictor/src/exn/core/context.py +++ b/exponential-smoothing-predictor/src/exn/core/context.py @@ -7,7 +7,7 @@ _logger = logging.getLogger(__name__) -_logger.setLevel(logging.DEBUG) +_logger.setLevel(logging.WARN) class Context: diff --git a/exponential-smoothing-predictor/src/exn/core/manager.py b/exponential-smoothing-predictor/src/exn/core/manager.py index dd4025e..9319ad0 100755 --- a/exponential-smoothing-predictor/src/exn/core/manager.py +++ b/exponential-smoothing-predictor/src/exn/core/manager.py @@ -9,7 +9,7 @@ from .publisher import Publisher _logger = logging.getLogger(__name__) -_logger.setLevel(logging.DEBUG) +_logger.setLevel(logging.WARN) class SessionPerConsumer(object): diff --git a/exponential-smoothing-predictor/src/runtime/Predictor.py b/exponential-smoothing-predictor/src/runtime/Predictor.py index 8e57610..950c296 100755 --- a/exponential-smoothing-predictor/src/runtime/Predictor.py +++ b/exponential-smoothing-predictor/src/runtime/Predictor.py @@ -311,7 +311,7 @@ def on_message(self, key, address, body, context, **kwargs): address = address.replace("topic://"+EsPredictorState.GENERAL_TOPIC_PREFIX,"") if (address).startswith(EsPredictorState.MONITORING_DATA_PREFIX): address = address.replace(EsPredictorState.MONITORING_DATA_PREFIX, "", 1) - + logging.debug("New monitoring data arrived at topic "+address) if address == 'metric_list':