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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[resolved] Store log in a Databases

Hello,
Is it possible with talend to store the logs of insertion, updates and deletion in a table?
I try but i don't know what tools to use!
I used twarn, trowGenerator, tLogCatcher like in the tutorial, it works but i want to apply this in a java application!
For example, when a user add data or update data, the logs of this operation is stored in a table!
Labels (4)
20 Replies
Anonymous
Not applicable
Author

Your talend job would write to database about the logs...
Create another job to read the database table related to error log and if there are any records, read those records and sent it via email using tSendMail component.
Vaibhav

Anonymous
Not applicable
Author

Your talend job would write to database about the logs...
Create another job to read the database table related to error log and if there are any records, read those records and sent it via email using tSendMail component.
Vaibhav


Ok i'll try it
G47

Anonymous
Not applicable
Author

Hey i've try to make it like this, can you give me advice?
0683p000009MES5.png

Anonymous
Not applicable
Author

Good, this would work. In addition to the error logs, there are two more components, tstatcatcher and tmetercatcher... better you have a look at those. These component may help you to get more details.
In addition to this, tlogcatcher would not provide you with the console trace. You need to make use of some java component in tpreJob to capture complete stack trace for your job execution inside the file. This will help you.
Check couple of blogs for your reference
http://helicaltech.com/logging-using-talend/
http://helicaltech.com/redirecting-talend-console-logs/
You will get some idea based on above logs.
Thanks
Vaibhav

Anonymous
Not applicable
Author

Good, this would work. In addition to the error logs, there are two more components, tstatcatcher and tmetercatcher... better you have a look at those. These component may help you to get more details.
In addition to this, tlogcatcher would not provide you with the console trace. You need to make use of some java component in tpreJob to capture complete stack trace for your job execution inside the file. This will help you.
Check couple of blogs for your reference
http://helicaltech.com/logging-using-talend/
http://helicaltech.com/redirecting-talend-console-logs/
You will get some idea based on above logs.
Thanks
Vaibhav


Thanks for your help,
But how do i integrate it into an application. For example: when a user insert/update or delete into a table and when a error appear, the software works in background as a daemon application.

Anonymous
Not applicable
Author

Little bit disappointing....
But, In order for this to work, you need to embed your application inside this job and not otherwise... These logs are captured for current jvm session of talend job and not for another...
Redirecting talend console logs are applicable or starts from main job and includes anything till the end of job.
Vaibhav

Anonymous
Not applicable
Author

Little bit disappointing....
But, In order for this to work, you need to embed your application inside this job and not otherwise... These logs are captured for current jvm session of talend job and not for another...
Redirecting talend console logs are applicable or starts from main job and includes anything till the end of job.
Vaibhav


OK then 0683p000009MACn.png
can you help me to do this?
TRowGenerator generates data and insert them into a table, how to say to talend: "i want user insert data with a form then do the job"?
Best regards,
G47

Anonymous
Not applicable
Author

"i want user insert data with a form then do the job"?
then do the job"
>>
Which job?
Any other application is inserting data to table? Form is related to what?
what is the role of tRowGenerator?
Please explain.
vaibhav

Anonymous
Not applicable
Author

"i want user insert data with a form then do the job"?
then do the job"
>>
Which job?
Any other application is inserting data to table? Form is related to what?
what is the role of tRowGenerator?
Please explain.
vaibhav


The user inserts with a form (for example in php).
I want my job sends me an email when there is a problem with the insertion

Anonymous
Not applicable
Author

php is front end...
whether you are capturing and inserting error info into database, then it is possible. Else, let us know how talend would know about an error which is executing at server side?
Thanks
vaibhav