Four Stars fem
Four Stars



can anyone help with 'tRedirectOutput' component? i am not able to write the red line errors into a text file.

 is there any additional component settings needed?



Re: tRedirectOutput

Hi fem,


       Which version of Talend are you using? Are you using below component from Talend exchange?


      The error seems to be a date parse issue. Could you please add screen shots of the job and component you are using which will give more insight to the issue?


Warm Regards,


Nikhil Thampi



Re: tRedirectOutput

Hello fem,

Is this custom component tRedirectOutput compatible with your current studio version?

Or you could add the following code to a tJava at the beginning of your job. if you haven't created the log directory you can add tCreateTemporaryFile before the tJava and check the box "Remove file when execution is over". this will create the directory for you if you don't have it already. folder = new"/var/"); logFile = new"/var/textLog.log"); ps = new;

Let us know if it is OK with you.

Best regards



Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.