import sys
import json
-import logging as log
+import logging
from jsmin import jsmin
from connection import Connection
from metric_alarms import MetricAlarm
sys.path.append("../../core/message_bus")
from producer import KafkaProducer
+log = logging.getLogger(__name__)
+
class plugin_alarms():
"""Receives Alarm info from MetricAlarm and connects with the consumer/producer"""
def __init__ (self):