Handling logs and exceptions
Before you begin
-
The Log4j option is enabled in the project settings. For further information, see Activating and configuring Log4j.
About this task
When building Artifacts, you can use specific components to collect exception data and transfer it to the Studio console or to the web application.
When building Jobs, use:
- tJobFailure to throw exception and stop the Artifact or Task execution
- tLogCatcher to collect exception data and transfer it to the Studio console or to the web application
- tJobLog to define log information when executing Jobs in the Studio or Tasks in the web application
The example below shows how to collect data exceptions in a Job.