Commit 90eea7e8 authored by Matias Guijarro's avatar Matias Guijarro

scanning/chain: use bliss.scans logger instead of 'Scan', removed 'trace'...

scanning/chain: use bliss.scans logger instead of 'Scan', removed 'trace' static method => use log tools instead

Works fine with `debugon("bliss.scans")` for example
parent 17bf01d7
......@@ -25,7 +25,7 @@ from .channel import duplicate_channel, attach_channels
# Running task for a specific device
#
_running_task_on_device = weakref.WeakValueDictionary()
_logger = logging.getLogger("Scan")
_logger = logging.getLogger("bliss.scans")
_debug = _logger.debug
_error = _logger.error
......@@ -837,10 +837,6 @@ class AcquisitionChain(object):
def reset_stats(self):
self._stats_dict = dict()
@staticmethod
def trace(on):
_logger.setLevel("DEBUG" if on else 0)
@property
def nodes_list(self):
nodes_gen = self._tree.expand_tree()
......
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