# Job_EnableLog

> Enable logging. To be able to reenable logging sFuncname should contain a logical name.

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

### Description

Enable logging. To be able to reenable logging sFuncname should contain a logical name. The name must match the name used when calling Job_Disablelog

### Syntax

Job_EnableLog(sFunctionName) as Boolean

### Parameters

#### sFunctionName (String)

Current function

### Example

**VBScript**

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

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

### Related functions

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