Logging

Implement database logging ..

PDI is configured to provide helpful log messages to help provide understanding in how a job or transformation is running. Logging can be configured to provide minimal logging information, just to know whether a job or transformation failed or was successful, or detailed in providing errors or w arnings such as network issues or mis-configurations.

Nothing: Don't show any output

Error: Only show errors

Minimal: Only use minimal logging

Basic: This is the default basic logging level

Detailed: Give detailed logging output

Debug: For debugging purposes, very detailed output.

Row level: Logging at a row level, this can generate a lot of data.

When executing a job or transformation from within the Spoon development environment, a "Logging" tab is available, showing any log messages that have been generated. Any error messages are shown with red text, to easily identify the cause of any errors in the file.

In this guided demonstration, you will:

• Create Logging Database Tables in PostgreSQL hibernate database.

• Configure kettle.properties file for logging

• Examine Logging tables

For this demonstration, you will require pgAdmin 4 (or any database management tool) to create the required schema and database tables in PostgreSQL.

  1. Create a connection to the hibernate database:

Username

hibuser

Password

password

  1. Test the connection.

  2. Expand the hibernate database -> Schemas -> pentaho_dilogs -> Tables:

pentaho_dilogs

Last updated