From 285f14392b4494501b462796743e67cc54c4cca8 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Wed, 19 Apr 2017 18:45:29 -0700 Subject: mpm: Moved over to new logging infrastructure Also currently hardcodes some settings. --- mpm/python/usrp_mpm/dboard_manager/base.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'mpm/python/usrp_mpm/dboard_manager/base.py') diff --git a/mpm/python/usrp_mpm/dboard_manager/base.py b/mpm/python/usrp_mpm/dboard_manager/base.py index 37e7dd2b8..0e8d1b7e4 100644 --- a/mpm/python/usrp_mpm/dboard_manager/base.py +++ b/mpm/python/usrp_mpm/dboard_manager/base.py @@ -17,11 +17,8 @@ """ dboard base implementation module """ -import logging import struct - -LOG = logging.Logger(__name__) - +from ..mpmlog import get_logger class DboardManagerBase(object): """ @@ -33,6 +30,7 @@ class DboardManagerBase(object): def __init__(self, eeprom=None): self._eeprom = eeprom or {} + self.log = get_logger('dboardManager') def get_serial(self): return self._eeprom.get("serial", "") -- cgit v1.2.3