Adds OSMMON_KAFKA_LOG_LEVEL env var
Also removes unnecessary code from producer.py and moves
the consumer in common_consumer inside run method to ease
mocking during tests.
Signed-off-by: Benjamin Diaz <bdiaz@whitestack.com>
Change-Id: Ib7e0b9423a7c7d2acdd12f1bcb75b20eb3a7ea72
diff --git a/docker/Dockerfile b/docker/Dockerfile
index e736b50..6f7a829 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -43,6 +43,7 @@
ENV OS_DEFAULT_GRANULARITY 300
ENV REQUEST_TIMEOUT 10
ENV OSMMON_LOG_LEVEL INFO
+ENV OSMMON_KAFKA_LOG_LEVEL INFO
EXPOSE 8662