Skip to main content
Solved

Logging certain information into text file

  • July 11, 2024
  • 1 reply
  • 206 views

jugoslaviaa
Enthusiast
Forum|alt.badge.img+6

I have an ETL workbench and would like to create a text file where I can write some information while running the workbench. The information I would like to write includes:

  • The path to individual readers
  • The feature counts of each reader
  • The coordinate system of the each reader
  • How many objects have been written to the database

I don't want to use logging per se because it writes basically all information.What alternatives do I have? Can I only do it with python`? 

Best answer by jkr_wrk

Use the FeatureWriter set to Text File

In Parameters select Overwrite Existing FIle: No

Make a attribute in  your workbench called text_line_data set it to the information that you want in the log file.

Let this feature(s) with the text_line_data attribute go to the FeatureWriter.

 

 

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

jkr_wrk
Influencer
Forum|alt.badge.img+35
  • Best Answer
  • July 11, 2024

Use the FeatureWriter set to Text File

In Parameters select Overwrite Existing FIle: No

Make a attribute in  your workbench called text_line_data set it to the information that you want in the log file.

Let this feature(s) with the text_line_data attribute go to the FeatureWriter.