Commit 90629029 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Set logging basic config

parent 5cccc1d6
...@@ -49,9 +49,9 @@ import logging ...@@ -49,9 +49,9 @@ import logging
from msc import Msc from msc import Msc
from mscevent import MscEvent from mscevent import MscEvent
logging.basicConfig()
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)
class BasicMsc(Msc): class BasicMsc(Msc):
u""" u"""
...@@ -123,7 +123,7 @@ class BasicMsc(Msc): ...@@ -123,7 +123,7 @@ class BasicMsc(Msc):
that the content of this basic MSC are changed. that the content of this basic MSC are changed.
""" """
if self._instances.count(inst) == 0: if self._instances.count(inst) == 0:
logger.warning("Trying to remove not associated instance to this " logger.warning("Trying to remove not associated instance to this "
"basic msc") "basic msc")
return False return False
# Check if instance is child of me # Check if instance is child of me
......
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