code: def log_analyzer2(path):
      
      with handle(MalformedLogEntryError,
                    lambda (c):
                        invoke_restart('reparse',
                                       'ERROR: ' + c.text)):
          for filename in find_all_logs(path):
              analyze_log(filename)
docs: This procedure considers every line which can't be parsed
      as a line with ERROR level.