Commit 74f2c312 authored by Pierre-Elliott Bécue's avatar Pierre-Elliott Bécue

[cmb] clogger a changé

parent a52ef72a
......@@ -14,7 +14,9 @@ import sys
import pika
import cranslib.clogger as clogger
logger = clogger.CLogger(sys.argv[0].split("/")[-1].replace(".py", ""), "info")
DEBUG = False
logger = clogger.CLogger("cmb", sys.argv[0].split("/")[-1].replace(".py", ""), "info", DEBUG)
class AsynchronousConsumer(object):
"""AsynchronousConsumer class
......
......@@ -14,7 +14,9 @@ import sys
import pika
import cranslib.clogger as clogger
logger = clogger.CLogger(sys.argv[0].split("/")[-1].replace(".py", ""), "info")
DEBUG = False
logger = clogger.CLogger("cmbprod", sys.argv[0].split("/")[-1].replace(".py", ""), "info", DEBUG)
class BasicProducer(object):
"""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment