Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to capture tS3Put errors into a log file in Talend Open Studios (free version)

Hi,

 

I'm listening to a local folder for a file, then whenever it's available, put it into a Amazon S3 bucket and log the success (or failure) as seen in the attached job design. Everything works fine for the success case, but I can't capture the errors. Basically because tS3Put doesn't have the options of Java Exception or tWarn. My jonb design is attached below. The tJava components are basically for manual logging. Even if I disconnect from internet while the job is running, the job executes on success path. tS3Put doesn't trigger the "OnComponentError". Could someone please tell me if there's a way to do this?

 

Labels (1)
2 Replies
Anonymous
Not applicable
Author

Hello,

Do you want to catch the warning logged in the Console as an exception or capture the messages from Java Exception, tDie and/or tWarn?

Here is a component called tLogCatcher which can be used to capture exception and log them (console, file or db table)

Best regards

Sabrina

 

Anonymous
Not applicable
Author

Thanks xdshi,

 

I tried to use tLogCatcher, but the problem seem to be that the tS3Put does not propagate any of the JavaException or Warn but only Die on Error (definitely I don't want the process to die because it's a continuous loop). The tS3Put properties are as attached.

Is there a way to get around this?

0683p000009LtBF.pngthanks!