code: def get_logs(self):
          '''returns logs from disk, requires .log extenstion'''
          folder = os.path.dirname(self.pcfg['log_file'])
          for path, dir, files in os.walk(folder):
              for file in files:
                  if os.path.splitext(file)[-1] == '.log':
                      yield os.path.join(path, filef get_logs(self):
          '''returns logs from disk, requires .log extenstion'''
          folder = os.path.dirname(self.pcfg['log_file'])
          for path, dir, files in os.walk(folder):
              for file in files:
                  if os.path.splitext(file)[-1] == '.log':
                      yield os.path.join(path, file)
docs: returns logs from disk, requires .log extenstion