  
      def output_file(self, output_message, items_discovered):
          """ Save the output to a text file in the frames directory """
          now = datetime.now().strftime("%Y%m%d_%H%M%S")
          filename = self.output_message.replace(" ", "_").lower()
          filename += "_" + now + ".txt"
          output_file = os.path.join(self.source_dir, filename)
          logger.info("Saving %s result(s) to '%s'", items_discovered, output_file)
          with open(output_file, "w") as f_output:
              f_output.write(output_message)
  
 
</s> remove         folder_name = self.output_message.replace(" ", "_").lower()
        folder_name += "_" + now
 </s> add         folder_name = "{}_{}".format(self.output_message.replace(" ", "_").lower(), now) </s> remove             print("\n" + output_message)
 </s> add             for line in output_message.splitlines():
                logger.info(line)
        filename = "{}_{}.txt".format(self.output_message.replace(" ", "_").lower(), now)
  
      def output_file(self, output_message, items_discovered):
          """ Save the output to a text file in the frames directory """
          now = datetime.now().strftime("%Y%m%d_%H%M%S")
        filename = "{}_{}.txt".format(self.output_message.replace(" ", "_").lower(), now)
        filename = "{}_{}.txt".format(self.output_message.replace(" ", "_").lower(), now)
          output_file = os.path.join(self.source_dir, filename)
          logger.info("Saving %s result(s) to '%s'", items_discovered, output_file)
          with open(output_file, "w") as f_output:
              f_output.write(output_message)
  
keep keep keep keep replace replace keep keep keep keep keep
 Add Face Hashes to Alignments (#550)

* Convert main scripts to use face hashes

* Alignment tool: Use hashes, add logging, add face rename function

* More logging. Update Manual tool to work with hashing 
tools/lib_alignments/jobs.py