# DoReload method

Reloads the script that is set in an app.

### Logs

When this method is called, audit activity logs are produced to track the user activity. In the case of errors, both audit activity logs and system services logs are produced. The log files are named as follows:

| Audit activity log | System service log |
| --- | --- |
| *&lt;MachineName&gt;\_AuditActivity\_Engine.txt* in Qlik Sense Enterprise<br>*&lt;MachineName&gt;\_AuditActivity\_Engine.log* in Qlik Sense Desktop | *&lt;MachineName&gt;\_Service\_Engine.txt* in Qlik Sense Enterprise<br>*&lt;MachineName&gt;\_Service\_Engine.log* in Qlik Sense Desktop |

### Where to find the log files

The location of the log files depends on whether you have installed Qlik Sense Enterprise or Qlik Sense Desktop.

| Qlik Sense Enterprise | Qlik Sense Desktop |
| --- | --- |
| *%ProgramData%/Qlik/Sense/Log/Engine* | *%UserProfile%/Documents/Qlik/Sense/Log* |

## Parameters

| Name | Description | Type |
| --- | --- | --- |
| qMode | Error handling mode<br>One of:<br><br><ul><li>0: for default mode.</li><li>1: for ABEND; the reload of the script ends if an error occurs.</li><li>2: for ignore; the reload of the script continues even if an error is detected in the script.</li></ul> | Integer |
| qPartial | Set to true for partial reload.<br>The default value is false. | Boolean |
| qDebug | Set to true if debug breakpoints are to be honored. The execution of the script will be in debug mode.<br>The default value is false. | Boolean |

## Returns

| Name | Description | Type |
| --- | --- | --- |
| qReturn | &lt;true or false&gt;<br><br>Information noteThe operation is successful if \*\*qReturn\*\* is set to true.<br><br><br>If the data load has successfully finished, no matter how the indexing behaves, \_true\_ is returned. This happens even if there is a timeout, a memory limit is reached, or any other error occurs during the indexing. | Boolean |

## Access Control

`reload`