# DoReloadEx method

Reloads the script that is set in an app and returns the path to the script log file.

Information note

A log file is created per reload.

### 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* |

### DoReloadExParams

| 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 |

### DoReloadExResult

| Name | Description | Type |
| --- | --- | --- |
| qSuccess | The operation is successful if *qSuccess* is set to True. | Boolean |
| qScriptLogFile | Path to the script log file. | String |

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.

## Parameters

| Name | Description | Type |
| --- | --- | --- |
| qParams |  | [DoReloadExParams](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/EngineJSONAPI/Content/models-doreloadexparams.htm) |

## Returns

| Name | Description | Type |
| --- | --- | --- |
| qResult |  | [DoReloadExResult](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/EngineJSONAPI/Content/models-doreloadexresult.htm) |

## Access Control

`reload`