# Log to FIle

This action allows the user to log in an external file the desired output.&#x20;

## **Properties**

![](/files/-MdbJQaS3DWTKzJdCuzo)

### Input

* **File Path**: path for the file to be deleted;  either a variable or directly the file name (including the address to the file e.g. C:\\\Source Folder\\\Test.xls).

### **Output**

* **Output**: input the expression to be displayed in the Debug Console. Must use quotes for strings.

## Use Cases

* Log bank statement exceptions in a file for manual processing.
* Log errors in a file for later references.&#x20;

{% embed url="<https://youtu.be/CTqWUdkx8vY>" %}


---

# 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.tailent.com/actions/tap-actions/loging/log-to-file.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.
