fmeobjects.FMELogFile.setFileName

FMELogFile.setFileName(fileName, append)

If the filename is different from the current file, then the current file is closed, and the new one is opened.

Parameters:
  • fileName (str) – The file name to set.

  • append (bool) – Append new messages to the file if True. Clear the file before any new log messages are added if False.

Raises:

FMEException – An exception is raised if there was a problem.

Return type:

None