For the complete documentation index, see llms.txt. This page is also available as Markdown.

Logging

Set the transformation logging level ..

Workshop - Logging

Logging

Create a new transformation

Use any of these options to open a new transformation tab:

  • Select File > New > Transformation

  • Use Ctrl+N (Windows/Linux) or Cmd+N (macOS)

Logging

Start from the transformation you built in Hello World.

Generate Rows

Generate Rows is a test-data step. It is a quick way to validate logging and error handling.

  1. Double-click the Generate Rows step.

  2. Change the type for message to Integer.

Change data type
  1. Select OK.

Run the transformation

Run with a higher log level to see row-level detail.

  1. Select Run in the canvas toolbar.

  2. Set Log level to Basic.

  3. Select Run.

  4. Run again with Log level set to Row level.

Set row level debugging
  1. Select Run. The failing step is highlighted.

Error in step
  1. In Execution results, open the Log tab.

Logging - error

The error text is in the log output. Look for the first ERROR entry.

Tip: Select the minus icon to show errors only.

The same error is written to pdi.log:

C:\\Pentaho\\design-tools\\data-integration\\logs\\pdi.log

~/Pentaho/design-tools/data-integration/logs/pdi.log

pdi.log - Linux

Next workshop: Error Handling

Last updated

Was this helpful?