# GetLatestTaskLog Method

## Overloads

| [GetLatestTaskLog(Guid, Int32)](https://help.qlik.com/en-US/qlikview-developer/September2026/Subsystems/QMSAPIref/Content/PIX.Services.V12.IQMS.GetLatestTaskLog.htm#PIX_Services_V12_IQMS_GetLatestTaskLog_System_Guid_System_Int32_) |  |  |
| --- | --- | --- |

[](https://help.qlik.com/en-US/qlikview-developer/Subsystems/QMSAPIref/Content/PIX.Services.V12.IQMS.GetLatestTaskLog.htm) [](https://help.qlik.com/en-US/qlikview-developer/Subsystems/QMSAPIref/Content/PIX.Services.V12.IQMS.GetLatestTaskLog.htm)

## GetLatestTaskLog(Guid, Int32)

### Declaration

```

          List<LogFileEntry> GetLatestTaskLog(Guid taskID, int maxRecords)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.Guid | taskID |  |
| System.Int32 | maxRecords |  |

### Returns

| Type | Description |
| --- | --- |
| System.Collections.Generic.List&lt;[LogFileEntry](https://help.qlik.com/en-US/qlikview-developer/September2026/Subsystems/QMSAPIref/Content/PIX.QMSAPI.DataObjects.LogFileEntry.htm)&gt; |  |