def initialize_logger(self):

      # Invoke logging with a concurrent logging module since many of these
      # processes will likely be writing to scan.log at the same time
      self.dbg_h = logging.getLogger('dbg_log')
      dbglog = '%s/%s' % (self.log_path, 'dbg.log')
      dbg_rotateHandler = ConcurrentRotatingFileHandler(dbglog, "a")
      self.dbg_h.addHandler(dbg_rotateHandler)
      self.dbg_h.setLevel(logging.ERROR)

      self.scan_h = logging.getLogger('scan_log')
      scanlog = '%s/%s' % (self.log_path, 'scan.log')
      scan_rotateHandler = ConcurrentRotatingFileHandler(scanlog, "a")
      self.scan_h.addHandler(scan_rotateHandler)
      self.scan_h.setLevel(logging.INFO)
dataset/ETHPy150Open EmersonElectricCo/fsf/fsf-server/scanner.py/Scanner.initialize_logger/original