# Options

Errors, warnings, and other information generated as the transformation runs are stored in logs. You can specify how much information is in a log and whether the log is cleared each time through the **Options** section of this window. You can also enable safe mode and specify whether PDI should gather performance metrics. For more informaiton about the logging methods available in PDI, see [Logging and Performance Monitoring](/pdia-data-integration/9.3-data-integration/data-integration-perspective-in-the-pdi-client/logging-and-performance-monitoring.md).

| Option                         | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| ------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Clear log before running**   | Indicates whether to clear all your logs before you run your transformation. If your log is large, you might need to clear it before the next execution to conserve space.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| **Log level**                  | <p>Specifies how much logging is performed and the amount of information captured:- <strong>Nothing</strong>: No logging occurs.</p><ul><li><strong>Error</strong>: Only errors are logged.</li><li><strong>Minimal</strong>: Only use minimal logging.</li><li><strong>Basic</strong>: This is the default level.</li><li><strong>Detailed</strong>: Give detailed logging output.</li><li><strong>Debug</strong>: For debugging purposes, very detailed output.</li><li><strong>Row Level</strong>: Logging at a row level, which generates a lot of log data.</li></ul><p><strong>Debug</strong> and <strong>Row Level</strong> logging levels contain information you may consider too sensitive to be shown. Consider the sensitivity of your data when selecting these logging levels. See the <strong>Administer Pentaho Data Integration and Analytics</strong> document for instructions on how best to use these logging methods.</p> |
| **Enable safe mode**           | Checks every row passed through your transformation and ensure all layouts are identical. If a row does not have the same layout as the first row, an error is generated and reported.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| **Gather performance metrics** | Monitors the performance of your transformation execution through these metrics. [Use performance graphs](/pdia-data-integration/9.3-data-integration/data-integration-perspective-in-the-pdi-client/logging-and-performance-monitoring/monitor-performance/use-performance-graphs.md) shows how to visually analyze these metrics.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |


---

# Agent Instructions: 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:

```
GET https://docs.pentaho.com/pdia-data-integration/9.3-data-integration/data-integration-perspective-in-the-pdi-client/work-with-transformations-cp/run-your-transformation/options.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
