Skip to main content
Pentaho Documentation

Logging Steps

Follow the instructions below to create a log table that keeps a history of step-related information associated with your transformation.

  1. Right-click the workspace (canvas) where you have an open transformation, or press <CTRL +T>. The Transformation Properties dialog box appears.
  2. Click the Logging tab in the Transformation Properties dialog box. Make sure Step is selected in the navigation pane on the left.
  3. Enter the following information on the Logging tab:
    Option Description
    Log Connection Specifies the database connection you are using for logging; you can configure a new connection by clicking New.
    Log table schema Specifies the schema name, if supported by your database.
    Log table name Specifies the name of the log table (for example L_STEP).
    Log record timeout (in days) Specifies the number of days old log entries in the table will be kept before they are deleted.
  4. Select the fields you want to log in the Fields to log pane, or keep the default selections.
  5. Click SQL to create your log table. The Simple SQL Editor appears.
  6. Click Execute to run the SQL code for your log table, then click OK to exit the Results dialog box.

    You must execute the SQL code to create the log table.

  7. Click Close to exit the Simple SQL Editor.
  8. Click OK to exit the Transformation Properties dialog box.