> For the complete documentation index, see [llms.txt](https://docs.pentaho.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pentaho.com/pdia-data-integration/9.3-data-integration/pdi-job-entries-reference-overview/transformation-job-entry-cp/options-transformation-job/logging-tab.md).

# Logging tab

By default, if you do not set logging, PDI will take generated log entries and create a log record inside the job. For example, suppose a job has three transformations to run and you have not set logging. The transformations will not log information to other files, locations, or special configurations. In this instance, the job runs and logs information into its master job log.

In most instances, it is acceptable for logging information to be available in the job log. For example, if you have load dimensions, you want logs for your load dimension runs to display in the job logs. If there are errors in the transformations, they will be displayed in the job logs. However, you want all your log information kept in one place, you must then set up logging.

![Logging tab, Transformation (job entry)](/files/QDLJzFHy0rhhRuDnBOSn)

The following table describes the options for setting up a log file:

| Option                      | Description                                                                                                                                                                                                                                              |
| --------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Specify logfile**         | Specifies a separate logging file for running this transformation.                                                                                                                                                                                       |
| **Name**                    | Specifies the directory and base name of the log file (`C:\logs` for example).                                                                                                                                                                           |
| **Extension**               | Specifies the file name extension (`.log` or `.txt` for example).                                                                                                                                                                                        |
| **Log level**               | Specifies the logging level for running the transformation. See [Logging and performance monitoring](/pdia-data-integration/9.3-data-integration/data-integration-perspective-in-the-pdi-client/logging-and-performance-monitoring.md) for more details. |
| **Append logfile**          | Appends the logfile as opposed to creating a new one.                                                                                                                                                                                                    |
| **Create parent folder**    | Creates a parent folder for the log file if it does not exist.                                                                                                                                                                                           |
| **Include date in logfile** | Adds the system date to the log file, with the format YYYYMMDD such as `(_20051231)`.                                                                                                                                                                    |
| **Include time in logfile** | Adds the system time to the log file, with the format HHMMSS such as `(_235959)`.                                                                                                                                                                        |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.pentaho.com/pdia-data-integration/9.3-data-integration/pdi-job-entries-reference-overview/transformation-job-entry-cp/options-transformation-job/logging-tab.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
