Skip to main content
Question

Log File Configuration

  • June 17, 2025
  • 1 reply
  • 28 views

aashnaparikh
Contributor
Forum|alt.badge.img+2

Is it possible to generate a separate log file or configure the existing log file to display metadata for the reconciliation purposes. 

The field that I am looking to display is the feature count in input file, feature count in both output file, who executed the workspace with timestamp, the amount field totals in the input file and the amount field totals in the 2 output files ( I have a workspace where there is 1 input file and 2 output files) . Also I have noticed that FME overwrites to the same log file every time the workspace is executed, is it possible to create a unique log file at every run? 

Thank you for the support. 

1 reply

alexbiz
Enthusiast
Forum|alt.badge.img+13
  • Enthusiast
  • June 17, 2025

Yes, you can totally generate your own custom report using the Text Writer or AttributeFileWriter, but you’ll need to collect the data you want manually within your workspace.

That means:

  • Counting features in your input file,
  • Getting the number of features written (for example, right after a FeatureWriter),
  • Summing up the values of your amount fields in both input and output streams,
  • And generating your own timestamp using a DateTimeStamper.

Regarding the user who ran the workspace: I don’t think you can get that directly in FME Form. But if you're running the workspace in FME Flow, you might be able to use system parameters like $(FME_SECURITY_USER) or $(FME_SERVER_RUNTIME_USER) to include that info.

 

For the log file name:
You can make FME generate a unique log file for each run by enabling “Include Datetime” in Log File options under Workspace Parameters > Logging > Log File.

Hope this helps!


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings