Skip to main content
Solved

Logging certain information into text file

  • July 11, 2024
  • 1 reply
  • 125 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.

 

 

View original
Did this help you find an answer to your question?

1 reply

jkr_wrk
Influencer
Forum|alt.badge.img+29
  • 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.

 

 


Reply


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