Hello, does anybody know how I can turn off all logging? I've been trying this script with limited success:
Code:
sub Main(ByVal Parm As Object) Try 'run through the enumerator, remove the location two strings Dim dv As Scheduler.Classes.DeviceClass Dim EN As Scheduler.Classes.clsDeviceEnumeration EN = hs.GetDeviceEnumerator Do dv = EN.GetNext If dv Is Nothing Then Continue Do If dv.Interface(Nothing).ToLower = "z-wave" Then hs.writelog("Log ZDev Start", "Device: " & dv.Name(Nothing)) dv.MISC_Clear(hs, Enums.dvMISC.NO_LOG) System.Threading.Thread.Sleep(50) End If Loop Until EN.Finished Catch ex As Exception : hs.writelog("Device Clear", "Exception: " & ex.message) End Try End Sub
Comment