Error logging in Talend Studio
This article describes the different types of logging provided by Talend Studio.
Overview
Talend
performs three different types of logging:
- Statistics, the Job execution statistics at the Job and component levels are logged
- Error, the errors, warnings and exceptions at the Job level are logged
- Meter Logging, the data flow inside the Job is logged
These three logging types can be configured at the following levels in Talend Studio:
- Project settings
- Components
- Job settings
- Job design
- Log4j
- Log Server
Error logging at the project level
This section explains how to set logging at the project level.
Procedure
Error logging in the console
This section explains how to configure your project to display the logs in the console.
Procedure
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.
Procedure
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.
Error logging in a database
This section explains how to configure your project to capture the logs in a
database.