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

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

How to write error log to file

Hi,

 

I want to write error log from my job insert data to mysql db. I have got error log on talend console  and i want write it to file, like picture below :0683p000009M6BI.png

 

How to write that error log to file?

 

Thanks.

Labels (3)
5 Replies
Anonymous
Not applicable
Author

HELLO,

Error logging at the project level
This section explains how to set logging at the project level.
Navigate to File > Edit project settings > Job settings.
Select the check box below Stats and Logs to enable the logging at the project level.
If logging at the project level is enabled, every new Job created inherits the settings.

Configure the output of your logs by choosing one of the options below.
Error logging in the console
This section explains how to configure your project to display the logs in the console.
Navigate to Job settings > Stats & Logs.
Select the check box to the left of On Console.
These logs are not captured anywhere and are overwritten every time you run a Job.


Error logging in a file
This section explains how to capture the logs in files.

Capturing the logs in files is a better option, because you can use the log to see details about the stats, logs and even meter/data flow. If project level logging is enabled, you do not need to separately configure components such as tLogCatcher, tFlowMeter and tStatCatcher.

Select the check box to the left of On File.
Although the screen shows static file names, they can be modified by appending a timestamp to their name. This way, you have a different log file for each timestamp. Otherwise, it would append the same file for every execution.

 

Warm Regards,0683p000009M6BS.png0683p000009M6BX.png0683p000009M6Bc.png0683p000009M5l7.png
Manish Suryawanshi,

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂

Anonymous
Not applicable
Author

Hi @vitspltalend,

 

I have been following your suggestion, but still can not get log from talend console. This is my configuration :

0683p000009M6Bh.png

 

This is picture  where file have been created from my talend config. Just one file have been created and error log from console still have not captured.0683p000009M6Bm.pngThanks.

Anonymous
Not applicable
Author

I get the same error. The application only create a stat file.

Anonymous
Not applicable
Author

How can log file be appended with timestamp ? Means can we have different logs files for different job ,is it feasible to achieve  it as  jobname_timestamp.log ?If yes how it can be achieved?

iTalhaoui
Contributor
Contributor

i have the same issue the application create only state table .

any solution ?