Logging in Job Entries

A job entry interacts with the PDI logging system by using the logging methods inherited from JobEntryBase.

These methods are used to issue log lines to the PDI logging system on different severity levels. Multi-argument versions of the methods are available to do some basic formatting, which is equivalent to a call to MessageFormat.format(message, arguments).

public void logMinimal()

public void logBasic()

public void logDetailed()

public void logDebug()

public void logRowlevel()

public void logError()

These methods query the logging level. They are often used to guard sections of code, that should only be executed with elevated logging settings.

public boolean isBasic()

public boolean isDetailed()

public boolean isDebug()

public boolean isRowLevel()

Job entries should log the this information at specified levels:

Log Level

Log Information Content

Minimal

Only information that is interesting at a very high-level, for example Job Started or Ended jobs. Individual job entries do not log anything at this level.

Basic

Information that may be interesting to you during regular ETL operation

Detailed

Prepared SQL or other query statements, resource allocation and initialization like opening files or connections

Debug

Anything that may be useful in debugging job entries

Row Level

Anything that may be helpful in debugging problems at the level of individual rows and values