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?
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?
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.
java.io.File folder = new java.io.File("/var/");
java.io.File logFile = new java.io.File("/var/textLog.log");
java.io.PrintStream ps = new java.io.PrintStream(new java.io.FileOutputStream(logFile));
Let us know if it is OK with you.
The first 100 community members completing the Open Studio survey win a $10 gift voucher.
Talend named a Leader.
Kickstart your first data integration and ETL projects.
Watch the recorded webinar!
Create systems and workflow to manage clean data ingestion and data transformation.
Introduction to Talend Open Studio for Data Integration.
Test drive Talend's enterprise products.