# Job_DisableLog

> Disables logging. Normally used to minimize the number of entries in the log e.g when working with large arrays.

Source: https://docs.capaone.com/capainstaller/vb-scripting-library/job-functions/job-disablelog/  
Product: CapaInstaller — a separate CapaSystems product; do not apply this page to any other.

### Description

Disables logging. Normally used to minimize the number of entries in the log e.g when working with large arrays

### Syntax

Job_DisableLog(sFunctionName) as Boolean

### Parameters

#### sFunctionName (String)

Current function

### Example

**VBScript**

```vb
If bStatus Then bStatus = Job_DisableLog("Custom") 
```

[Scripting Guidelines](/capainstaller/vb-scripting-library/scripting-guidelines/)

### Related functions

[Job_EnableLog](/capainstaller/vb-scripting-library/job-functions/job-enablelog/) [Constants](/capainstaller/vb-scripting-library/addendum/constants/) [Package Property](/capainstaller/vb-scripting-library/addendum/package-property/) [Variables](/capainstaller/vb-scripting-library/addendum/variables/)
