Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

logging processed records into a file

After completion of job i want to log processed records and unprocessed records into a new text file...please suggest me  to achieve this...

0683p000009M2YE.png

Labels (2)
1 Reply
akumar2301
Specialist II
Specialist II

If you want a simple file with record count details , you can create a FileOutPutXXX file with tFixedInputFlow as input.

with 

((Integer)globalMap.get("tSalesforceBulkExec_1_NB_SUCCESS"))

((Integer)globalMap.get("tSalesforceBulkExec_1_NB_REJECT"))

 

More sophisticated why is to user Logger.

If you are in subscription version , you could use log4j to log in a file.

In Open studio  , you could create your own Logger class .