Talend Connect
Virtual Summit
JOIN US!
And visit the Customer
& Community Lounge.
May 27-28, wherever you are.

TlogCatcher to file

One Star

TlogCatcher to file

TOS2.4.1 - java
Hello,
I wanted to log some tWarn and/or Tdie in a file.
But if I have more than 1 Twarn, only the last one appear in the file.
Example (stupid job for demo)
TlogCatcher--------->FileOutput
TfileInput -------> tWarn_1-------->tWarn_2

In the output file I get only one line :
2008-09-26 11:43:10;U2tlUt;U2tlUt;U2tlUt;PROJECT;help;Default;4;tWarn;tWarn_2;this is a warning 2;42
But I wanted :
2008-09-26 11:43:35;7AiYg7;7AiYg7;7AiYg7; PROJECT;help;Default;4;tWarn;tWarn_1;this is a warning 1;42
2008-09-26 11:43:10;U2tlUt;U2tlUt;U2tlUt; PROJECT;help;Default;4;tWarn;tWarn_2;this is a warning 2;42
Do I not the right thing or is it a bug?

PS : If I check "append" I get all but without \n, so it isn't readable.

Thanks
José
Highlighted
One Star

Re: TlogCatcher to file

Forget my issue!
If I check "append" it isn't readable with notepad but it is OK with notepad++
To be readable with notepad, we have to put "\r\n" as row separator.
José

2019 GARTNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog