cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

File History

sjakathi
New Contributor II

Hi All,

I have a below requirement any suggestions will be great help.

I want to log the file history into one log file for example when ever i read an input file I want to write an entry into the log file saying that file is read and if we are able to process the file successfully then i want to write another entry into the file saying that file processed successfully and moved to archive.

Can you please suggest the best way to implement this.

the logic in the below image is good way to implement or once the task is executed from that we can excess the complete execution history from that we can write the file history.
image

2 REPLIES 2

PratapKr_Gayen
New Contributor II

@sjakathi
You can create a child pipe line for log, and can be executed as per requirement i.e. when the job start it will the called and log will be written also at the end of the task you need to call the sub pipe line to update the log with status.

Make sure you choose the file action in writer snap as append.

SpiroTaleski
Valued Contributor

@sjakathi

You can follow the @PratapKr.Gayenโ€™s approach of creating the child pipeline intended only for logging purposes.
But, just as an note. The append action only is supported for file, FTP,SFTP, FTPS protocols(as per documentation File Writer).
Regards,
Spiro Taleski