# The tLogRow component

tLogRow is one of the easiest and most used components in Talend Studio. While it is mostly used for adding runtime logging information, it can also be used for debugging a Talend Studio Job.

In the Job shown below, the output from the **tMap** component is passed to a **tLogRow** component, which logs the row data in the console. ![](https://help.qlik.com/talend/en-US/debug-jobs/Resources/images/debuggin_using_tLogRow.png)

To have tLogRow logging row data in this subJob, you'll need to modify the **tMap** configuration by clearing the **Die on error** check box to make sure that the Job does not terminate on a failed row. ![](https://help.qlik.com/talend/en-US/debug-jobs/Resources/images/clearing_die_on_error_for_logging.png)

When you run the Job after making these changes, the **tLogRow** outputs the successful rows from the **tMap**; it also shows an error for failed rows, which you can use to troubleshoot the data issues. ![](https://help.qlik.com/talend/en-US/debug-jobs/Resources/images/error_row_recorded_by_tLogRow.png)

For debugging purposes, you may need to print intermediate variables created by the **tMap** component. These may not be necessarily part of the **tMap** output and, therefore, won’t show up in the console using a **tLogRow**. A simple way to capture these **tMap** variables is to use a Java **println** function in the **tMap Expression Builder**, as shown below. ![](https://help.qlik.com/talend/en-US/debug-jobs/Resources/images/print_tMap_variable.png)

The console output displays the value of the **tMap** variable. ![](https://help.qlik.com/talend/en-US/debug-jobs/Resources/images/tMap_variable_in_console.png)