> For the complete documentation index, see [llms.txt](https://docs.visualyze.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.visualyze.ai/rpa-studio/user-interface/write-log.md).

# Write Log

Write custom log message to output.

Use this activity to write any custom message you want to write to output during the execution.

### Input

* **Text :** [`String Argument`](/getting-started/rpa-studio/arguments.md)\
  The log text content.
* **Filepath**: \
  Specifies the full path of the file where the log is to be written.
* **Logging Level** : \
  Specifies the logging level of the log that is to be written. The logging level contains the following options:-
  * `Info`
  * `Error`
  * `Warn`&#x20;
  * `Debug`
* **File Operation** : \
  Specifies whether you want to overwrite or append a given input text to an existing file. The existing file operations are:
  * `Overwrite` - Overwrites the existing content with new content.
  * `Append` - Appends the new content to the existing one.

### Options

* Include DateTime : [`Boolean Argument`](/getting-started/rpa-studio/arguments.md#types-of-arguments)\
  Specifies whether to include DateTime along with the log to be written.

{% hint style="info" %}
It is possible to write any other Type to write to the log, this activity will try to convert the input argument to text and if the conversion is a success, it will be written to the output.
{% endhint %}
